public class GetFeaturesRequestData
extends java.lang.Object
GetFeaturesRequest| Modifier and Type | Class and Description |
|---|---|
static class |
GetFeaturesRequestData.Builder
A Builder class for creating an instance of
GetFeaturesRequestData object |
| 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
|
boolean |
equals(java.lang.Object o)
Overrides equals() in class
Object |
java.util.Map<java.lang.String,java.lang.String> |
getJoinKeyMap() |
java.util.Map<java.lang.String,java.lang.Object> |
getRequestContextMap() |
int |
hashCode()
Overrides hashCode() in class
Object |
boolean |
isEmptyJoinKeyMap() |
boolean |
isEmptyRequestContextMap() |
public GetFeaturesRequestData()
public GetFeaturesRequestData addJoinKeyMap(java.util.Map<java.lang.String,java.lang.String> joinKeyMap) throws InvalidRequestParameterException
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
InvalidRequestParameterException - when joinKeyMap is null or empty, or any key in the
map is null or emptypublic GetFeaturesRequestData addRequestContextMap(java.util.Map<java.lang.String,java.lang.Object> requestContextMap) throws InvalidRequestParameterException
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
InvalidRequestParameterException - when requestContextMap is null or empty, or any key in
the map is null or emptypublic GetFeaturesRequestData addJoinKey(java.lang.String key, java.lang.String value) throws InvalidRequestParameterException
key - join key namevalue - String join valueInvalidRequestParameterException - when the join key is null or emptypublic GetFeaturesRequestData addJoinKey(java.lang.String key, java.lang.Long value) throws InvalidRequestParameterException
key - join key namevalue - int64 (Long) join valueInvalidRequestParameterException - when the join key is null or emptypublic GetFeaturesRequestData addRequestContext(java.lang.String key, java.lang.String value) throws InvalidRequestParameterException
key - request context namevalue - String request context valueInvalidRequestParameterException - when the request context key is null or emptypublic GetFeaturesRequestData addRequestContext(java.lang.String key, java.lang.Long value) throws InvalidRequestParameterException
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
InvalidRequestParameterException - when the request context key is null or emptypublic GetFeaturesRequestData addRequestContext(java.lang.String key, java.lang.Double value) throws InvalidRequestParameterException
key - request context namevalue - Double request context valueInvalidRequestParameterException - when the request context key is null or emptypublic java.util.Map<java.lang.String,java.lang.String> getJoinKeyMap()
public java.util.Map<java.lang.String,java.lang.Object> getRequestContextMap()
public boolean isEmptyJoinKeyMap()
public boolean isEmptyRequestContextMap()
public boolean equals(java.lang.Object o)
Objectequals in class java.lang.Objectpublic int hashCode()
ObjecthashCode in class java.lang.Object