public final class QueryOperator
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Search API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
QueryOperator() |
Modifier and Type | Method and Description |
---|---|
QueryOperator |
clone() |
java.lang.String |
getDisplayName()
Display name of the operator
|
java.util.List<java.lang.String> |
getEnumValues()
Potential list of values for the opeatror field.
|
java.lang.String |
getGreaterThanOperatorName()
Indicates the operator name that can be used to isolate the property using the greater-than
operator.
|
java.lang.Boolean |
getIsFacetable()
Can this operator be used to get facets.
|
java.lang.Boolean |
getIsRepeatable()
Indicates if multiple values can be set for this property.
|
java.lang.Boolean |
getIsReturnable()
Will the property associated with this facet be returned as part of search results.
|
java.lang.Boolean |
getIsSortable()
Can this operator be used to sort results.
|
java.lang.Boolean |
getIsSuggestable()
Can get suggestions for this field.
|
java.lang.String |
getLessThanOperatorName()
Indicates the operator name that can be used to isolate the property using the less-than
operator.
|
java.lang.String |
getObjectType()
Name of the object corresponding to the operator.
|
java.lang.String |
getOperatorName()
The name of the operator.
|
java.lang.String |
getType()
Type of the operator.
|
QueryOperator |
set(java.lang.String fieldName,
java.lang.Object value) |
QueryOperator |
setDisplayName(java.lang.String displayName)
Display name of the operator
|
QueryOperator |
setEnumValues(java.util.List<java.lang.String> enumValues)
Potential list of values for the opeatror field.
|
QueryOperator |
setGreaterThanOperatorName(java.lang.String greaterThanOperatorName)
Indicates the operator name that can be used to isolate the property using the greater-than
operator.
|
QueryOperator |
setIsFacetable(java.lang.Boolean isFacetable)
Can this operator be used to get facets.
|
QueryOperator |
setIsRepeatable(java.lang.Boolean isRepeatable)
Indicates if multiple values can be set for this property.
|
QueryOperator |
setIsReturnable(java.lang.Boolean isReturnable)
Will the property associated with this facet be returned as part of search results.
|
QueryOperator |
setIsSortable(java.lang.Boolean isSortable)
Can this operator be used to sort results.
|
QueryOperator |
setIsSuggestable(java.lang.Boolean isSuggestable)
Can get suggestions for this field.
|
QueryOperator |
setLessThanOperatorName(java.lang.String lessThanOperatorName)
Indicates the operator name that can be used to isolate the property using the less-than
operator.
|
QueryOperator |
setObjectType(java.lang.String objectType)
Name of the object corresponding to the operator.
|
QueryOperator |
setOperatorName(java.lang.String operatorName)
The name of the operator.
|
QueryOperator |
setType(java.lang.String type)
Type of the operator.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getDisplayName()
null
for nonepublic QueryOperator setDisplayName(java.lang.String displayName)
displayName
- displayName or null
for nonepublic java.util.List<java.lang.String> getEnumValues()
null
for nonepublic QueryOperator setEnumValues(java.util.List<java.lang.String> enumValues)
enumValues
- enumValues or null
for nonepublic java.lang.String getGreaterThanOperatorName()
null
for nonepublic QueryOperator setGreaterThanOperatorName(java.lang.String greaterThanOperatorName)
greaterThanOperatorName
- greaterThanOperatorName or null
for nonepublic java.lang.Boolean getIsFacetable()
null
for nonepublic QueryOperator setIsFacetable(java.lang.Boolean isFacetable)
isFacetable
- isFacetable or null
for nonepublic java.lang.Boolean getIsRepeatable()
null
for nonepublic QueryOperator setIsRepeatable(java.lang.Boolean isRepeatable)
isRepeatable
- isRepeatable or null
for nonepublic java.lang.Boolean getIsReturnable()
null
for nonepublic QueryOperator setIsReturnable(java.lang.Boolean isReturnable)
isReturnable
- isReturnable or null
for nonepublic java.lang.Boolean getIsSortable()
null
for nonepublic QueryOperator setIsSortable(java.lang.Boolean isSortable)
isSortable
- isSortable or null
for nonepublic java.lang.Boolean getIsSuggestable()
null
for nonepublic QueryOperator setIsSuggestable(java.lang.Boolean isSuggestable)
isSuggestable
- isSuggestable or null
for nonepublic java.lang.String getLessThanOperatorName()
null
for nonepublic QueryOperator setLessThanOperatorName(java.lang.String lessThanOperatorName)
lessThanOperatorName
- lessThanOperatorName or null
for nonepublic java.lang.String getObjectType()
null
for nonepublic QueryOperator setObjectType(java.lang.String objectType)
objectType
- objectType or null
for nonepublic java.lang.String getOperatorName()
null
for nonepublic QueryOperator setOperatorName(java.lang.String operatorName)
operatorName
- operatorName or null
for nonepublic java.lang.String getType()
null
for nonepublic QueryOperator setType(java.lang.String type)
type
- type or null
for nonepublic QueryOperator set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public QueryOperator clone()
clone
in class com.google.api.client.json.GenericJson