public class GetFeaturesRequestData
extends java.lang.Object
GetFeaturesRequest
Constructor and Description |
---|
GetFeaturesRequestData()
Constructor that creates a new GetFeaturesRequestData object with an empty joinKeyMap and
requestContextMap
|
Modifier and Type | Method and Description |
---|---|
GetFeaturesRequestData |
addJoinKey(java.lang.String key,
java.lang.Long value)
Add an int64 join key value to the joinKeyMap
|
GetFeaturesRequestData |
addJoinKey(java.lang.String key,
java.lang.String value)
Add a String join key value to the joinKeyMap
|
GetFeaturesRequestData |
addJoinKeyMap(java.util.Map<java.lang.String,java.lang.String> joinKeyMap)
Setter method for joinKeyMap
|
GetFeaturesRequestData |
addRequestContext(java.lang.String key,
java.lang.Double value)
Add a Double request context value to the requestContextMap
|
GetFeaturesRequestData |
addRequestContext(java.lang.String key,
java.lang.Long value)
Add an int64 request context value to the requestContextMap
|
GetFeaturesRequestData |
addRequestContext(java.lang.String key,
java.lang.String value)
Add a String request context value to the requestContextMap
|
GetFeaturesRequestData |
addRequestContextMap(java.util.Map<java.lang.String,java.lang.Object> requestContextMap)
Setter method for requestContextMap
|
public GetFeaturesRequestData()
public GetFeaturesRequestData addJoinKeyMap(java.util.Map<java.lang.String,java.lang.String> joinKeyMap) throws TectonClientException
joinKeyMap
- Join keys used for table-based FeatureViews.
The key of this map is the join key name and the value is the join key value for this request
For string keys, the value should be a string
For int64 (Long) keys, the value should be a string of the decimal representation of the integer
TectonClientException
- when joinKeyMap is null or empty, or any key or value in the map
is null or emptypublic GetFeaturesRequestData addRequestContextMap(java.util.Map<java.lang.String,java.lang.Object> requestContextMap) throws TectonClientException
requestContextMap
- Request context used for OnDemand FeatureViews.
The key of this map is the join key name and the value is the join key value for this request
For string values, the value should be a java.lang.String
For int64 values, the value should be a java.lang.String of the decimal representation of the integer
For double values, the value should be a java.lang.Double
TectonClientException
- when requestContextMap is null or empty, or any key or value in
the map is null or emptypublic GetFeaturesRequestData addJoinKey(java.lang.String key, java.lang.String value) throws TectonClientException
key
- join key namevalue
- String join valueTectonClientException
- when the join key or value is null or emptypublic GetFeaturesRequestData addJoinKey(java.lang.String key, java.lang.Long value) throws TectonClientException
key
- join key namevalue
- int64 (Long) join valueTectonClientException
- when the join key or value is null or emptypublic GetFeaturesRequestData addRequestContext(java.lang.String key, java.lang.String value) throws TectonClientException
key
- request context namevalue
- String request context valueTectonClientException
- when the request context key or value is null or emptypublic GetFeaturesRequestData addRequestContext(java.lang.String key, java.lang.Long value) throws TectonClientException
key
- request context namevalue
- int64 (Long) request context value
Note: The int64 value is converted to a String of the decimal representation of the integer
TectonClientException
- when the request context key or value is null or emptypublic GetFeaturesRequestData addRequestContext(java.lang.String key, java.lang.Double value) throws TectonClientException
key
- request context namevalue
- Double request context valueTectonClientException
- when the request context key or value is null or empty