Packagecom.esri.baserver.tasks.segmentation
Classpublic class ProfileByTableGeocodingParameters
InheritanceProfileByTableGeocodingParameters Inheritance BAUtilityParameters Inheritance BABaseParameters Inheritance Object
Implements IBAResultProcessor

The ProfileByTableGeocodingParameters class provides input parameters for the Profile by Table Geocoding task.

Only matched address records will be taken into account in the output segmentation profile.

The output profile can be saved in the Business Analyst Server repository if the outputItem parameter is specified.

View the examples

See also

ProfileByTableGeocodingTask


Public Properties
 PropertyDefined By
 InheritedactiveDatasetID : String
Active dataset ID.
BAUtilityParameters
  geocodeData : GeocodeData
Table containing address records (required).
ProfileByTableGeocodingParameters
  outputItem : FolderItem
Configuration options for storing the output item in the repository.
ProfileByTableGeocodingParameters
 InheritedresultType : BAResultType
[read-only] Type of a result returned by the task associated with these parameters.
BABaseParameters
  segmentationBase : String
Segmentation base (required).
ProfileByTableGeocodingParameters
 InheritedtaskName : String
[read-only] Name of a Business Analyst Server task associated with these parameters.
BABaseParameters
  weightField : String
The attribute field in the geocodeData table which contains weight value (e.g., sales) for each address record (optional).
ProfileByTableGeocodingParameters
Public Methods
 MethodDefined By
  
Creates a new instance of the ProfileByTableGeocodingParameters class.
ProfileByTableGeocodingParameters
Property Detail
geocodeDataproperty
geocodeData:GeocodeData

Table containing address records (required).


Implementation
    public function get geocodeData():GeocodeData
    public function set geocodeData(value:GeocodeData):void
outputItemproperty 
outputItem:FolderItem

Configuration options for storing the output item in the repository.


Implementation
    public function get outputItem():FolderItem
    public function set outputItem(value:FolderItem):void
segmentationBaseproperty 
segmentationBase:String

Segmentation base (required). Use the Get Segmentation Bases lookup operation to query available segmentation bases.


Implementation
    public function get segmentationBase():String
    public function set segmentationBase(value:String):void

See also

weightFieldproperty 
weightField:String

The attribute field in the geocodeData table which contains weight value (e.g., sales) for each address record (optional).


Implementation
    public function get weightField():String
    public function set weightField(value:String):void
Constructor Detail
ProfileByTableGeocodingParameters()Constructor
public function ProfileByTableGeocodingParameters()

Creates a new instance of the ProfileByTableGeocodingParameters class.

Examples
ActionScript to create ProfileByTableGeocodingParameters and then use in a ProfileByTableGeocodingTask:
                     
     var parameters : ProfileByTableGeocodingParameters = new ProfileByTableGeocodingParameters();
     
     // The GeocodeData type is an address information for geocoding, e.g.
     //var geocodeData : GeocodeData = new GeocodeData(new TableData(geocodeAddressesData));
     
     parameters.geocodeData = geocodeData;
     
     // Set a segmentation base.
     parameters.segmentationBase = "Total Households";
     
     // Set an attribute field in the geocodeData table which contains weight value (optional).
     parameters.weightField = "SALES";
     
     profileByTableGeocodingTask.execute(parameters, new Responder(resultHandler, faultHandler));