publicfinalclass GqlQueryextendsGeneratedMessageV3implementsGqlQueryOrBuilder
A GQL
query.
Protobuf type google.datastore.v1.GqlQuery
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ALLOW_LITERALS_FIELD_NUMBER
publicstaticfinalintALLOW_LITERALS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
NAMED_BINDINGS_FIELD_NUMBER
publicstaticfinalintNAMED_BINDINGS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
POSITIONAL_BINDINGS_FIELD_NUMBER
publicstaticfinalintPOSITIONAL_BINDINGS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
QUERY_STRING_FIELD_NUMBER
publicstaticfinalintQUERY_STRING_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticGqlQuerygetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticGqlQuery.BuildernewBuilder()
newBuilder(GqlQuery prototype)
publicstaticGqlQuery.BuildernewBuilder(GqlQueryprototype)
| Parameter |
| Name |
Description |
prototype |
GqlQuery
|
publicstaticGqlQueryparseDelimitedFrom(InputStreaminput)
publicstaticGqlQueryparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticGqlQueryparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticGqlQueryparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticGqlQueryparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticGqlQueryparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticGqlQueryparseFrom(CodedInputStreaminput)
publicstaticGqlQueryparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticGqlQueryparseFrom(InputStreaminput)
publicstaticGqlQueryparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticGqlQueryparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticGqlQueryparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<GqlQuery>parser()
Methods
containsNamedBindings(String key)
publicbooleancontainsNamedBindings(Stringkey)
For each non-reserved named binding site in the query string, there must be
a named parameter with that name, but not necessarily the inverse.
Key must match regex A-Za-z_$, must not match regex
__.__, and must not be "".
map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
| Parameter |
| Name |
Description |
key |
String
|
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAllowLiterals()
publicbooleangetAllowLiterals()
When false, the query string must not contain any literals and instead must
bind all values. For example,
SELECT * FROM Kind WHERE a = 'string literal' is not allowed, while
SELECT * FROM Kind WHERE a = @value is.
bool allow_literals = 2;
| Returns |
| Type |
Description |
boolean |
The allowLiterals.
|
getDefaultInstanceForType()
publicGqlQuerygetDefaultInstanceForType()
getNamedBindings() (deprecated)
publicMap<String,GqlQueryParameter>getNamedBindings()
getNamedBindingsCount()
publicintgetNamedBindingsCount()
For each non-reserved named binding site in the query string, there must be
a named parameter with that name, but not necessarily the inverse.
Key must match regex A-Za-z_$, must not match regex
__.__, and must not be "".
map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
| Returns |
| Type |
Description |
int |
getNamedBindingsMap()
publicMap<String,GqlQueryParameter>getNamedBindingsMap()
For each non-reserved named binding site in the query string, there must be
a named parameter with that name, but not necessarily the inverse.
Key must match regex A-Za-z_$, must not match regex
__.__, and must not be "".
map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
getNamedBindingsOrDefault(String key, GqlQueryParameter defaultValue)
publicGqlQueryParametergetNamedBindingsOrDefault(Stringkey,GqlQueryParameterdefaultValue)
For each non-reserved named binding site in the query string, there must be
a named parameter with that name, but not necessarily the inverse.
Key must match regex A-Za-z_$, must not match regex
__.__, and must not be "".
map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
getNamedBindingsOrThrow(String key)
publicGqlQueryParametergetNamedBindingsOrThrow(Stringkey)
For each non-reserved named binding site in the query string, there must be
a named parameter with that name, but not necessarily the inverse.
Key must match regex A-Za-z_$, must not match regex
__.__, and must not be "".
map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
| Parameter |
| Name |
Description |
key |
String
|
getParserForType()
publicParser<GqlQuery>getParserForType()
Overrides
getPositionalBindings(int index)
publicGqlQueryParametergetPositionalBindings(intindex)
Numbered binding site @1 references the first numbered parameter,
effectively using 1-based indexing, rather than the usual 0.
For each binding site numbered i in query_string, there must be an i-th
numbered parameter. The inverse must also be true.
repeated .google.datastore.v1.GqlQueryParameter positional_bindings = 4;
| Parameter |
| Name |
Description |
index |
int
|
getPositionalBindingsCount()
publicintgetPositionalBindingsCount()
Numbered binding site @1 references the first numbered parameter,
effectively using 1-based indexing, rather than the usual 0.
For each binding site numbered i in query_string, there must be an i-th
numbered parameter. The inverse must also be true.
repeated .google.datastore.v1.GqlQueryParameter positional_bindings = 4;
| Returns |
| Type |
Description |
int |
getPositionalBindingsList()
publicList<GqlQueryParameter>getPositionalBindingsList()
Numbered binding site @1 references the first numbered parameter,
effectively using 1-based indexing, rather than the usual 0.
For each binding site numbered i in query_string, there must be an i-th
numbered parameter. The inverse must also be true.
repeated .google.datastore.v1.GqlQueryParameter positional_bindings = 4;
getPositionalBindingsOrBuilder(int index)
publicGqlQueryParameterOrBuildergetPositionalBindingsOrBuilder(intindex)
Numbered binding site @1 references the first numbered parameter,
effectively using 1-based indexing, rather than the usual 0.
For each binding site numbered i in query_string, there must be an i-th
numbered parameter. The inverse must also be true.
repeated .google.datastore.v1.GqlQueryParameter positional_bindings = 4;
| Parameter |
| Name |
Description |
index |
int
|
getPositionalBindingsOrBuilderList()
publicList<?extendsGqlQueryParameterOrBuilder>getPositionalBindingsOrBuilderList()
Numbered binding site @1 references the first numbered parameter,
effectively using 1-based indexing, rather than the usual 0.
For each binding site numbered i in query_string, there must be an i-th
numbered parameter. The inverse must also be true.
repeated .google.datastore.v1.GqlQueryParameter positional_bindings = 4;
| Returns |
| Type |
Description |
List<? extends com.google.datastore.v1.GqlQueryParameterOrBuilder> |
getQueryString()
publicStringgetQueryString()
A string of the format described
here.
string query_string = 1;
| Returns |
| Type |
Description |
String |
The queryString.
|
getQueryStringBytes()
publicByteStringgetQueryStringBytes()
A string of the format described
here.
string query_string = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for queryString.
|
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protectedMapFieldReflectionAccessorinternalGetMapFieldReflection(intnumber)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicGqlQuery.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedGqlQuery.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicGqlQuery.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides