public class GetFeaturesRequest extends AbstractGetFeaturesRequest
AbstractTectonRequest
that represents a request to the /get-features
endpoint to retrieve feature values from Tecton's online storeConstructor and Description |
---|
GetFeaturesRequest(java.lang.String workspaceName,
java.lang.String featureServiceName,
GetFeaturesRequestData getFeaturesRequestData)
Constructor that creates a new GetFeaturesRequest with specified parameters.
|
GetFeaturesRequest(java.lang.String workspaceName,
java.lang.String featureServiceName,
GetFeaturesRequestData getFeaturesRequestData,
java.util.Set<MetadataOption> metadataOptions)
Constructor that creates a new GetFeaturesRequest with the specified parameters
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
requestToJson() |
getEndpoint, getFeatureServiceName, getMethod, getWorkspaceName
public GetFeaturesRequest(java.lang.String workspaceName, java.lang.String featureServiceName, GetFeaturesRequestData getFeaturesRequestData)
metadataOptions
will default to RequestConstants.DEFAULT_METADATA_OPTIONS
workspaceName
- Name of the workspace in which the Feature Service is definedfeatureServiceName
- Name of the Feature Service for which the feature vector is being
requestedgetFeaturesRequestData
- GetFeaturesRequestData
object with joinKeyMap and/or
requestContextMappublic GetFeaturesRequest(java.lang.String workspaceName, java.lang.String featureServiceName, GetFeaturesRequestData getFeaturesRequestData, java.util.Set<MetadataOption> metadataOptions)
workspaceName
- Name of the workspace in which the Feature Service is definedfeatureServiceName
- Name of the Feature Service for which the feature vector is being
requestedgetFeaturesRequestData
- GetFeaturesRequestData
object with joinKeyMap and/or
requestContextMapmetadataOptions
- A Set
of MetadataOption
for retrieving additional
metadata about the feature values. Use RequestConstants.ALL_METADATA_OPTIONS
to
request all metadata and RequestConstants.NONE_METADATA_OPTIONS
to request no
metadata respectively. By default, RequestConstants.DEFAULT_METADATA_OPTIONS
will
be added to each requestpublic java.lang.String requestToJson()
requestToJson
in class AbstractTectonRequest