public interface GqlQueryOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsNamedBindings(String key)
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.
|
boolean |
getAllowLiterals()
When false, the query string must not contain any literals and instead must
bind all values.
|
Map<String,GqlQueryParameter> |
getNamedBindings()
Deprecated.
|
int |
getNamedBindingsCount()
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.
|
Map<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.
|
GqlQueryParameter |
getNamedBindingsOrDefault(String key,
GqlQueryParameter defaultValue)
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.
|
GqlQueryParameter |
getNamedBindingsOrThrow(String key)
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.
|
GqlQueryParameter |
getPositionalBindings(int index)
Numbered binding site @1 references the first numbered parameter,
effectively using 1-based indexing, rather than the usual 0.
|
int |
getPositionalBindingsCount()
Numbered binding site @1 references the first numbered parameter,
effectively using 1-based indexing, rather than the usual 0.
|
List<GqlQueryParameter> |
getPositionalBindingsList()
Numbered binding site @1 references the first numbered parameter,
effectively using 1-based indexing, rather than the usual 0.
|
GqlQueryParameterOrBuilder |
getPositionalBindingsOrBuilder(int index)
Numbered binding site @1 references the first numbered parameter,
effectively using 1-based indexing, rather than the usual 0.
|
List<? extends GqlQueryParameterOrBuilder> |
getPositionalBindingsOrBuilderList()
Numbered binding site @1 references the first numbered parameter,
effectively using 1-based indexing, rather than the usual 0.
|
String |
getQueryString()
A string of the format described
[here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
|
com.google.protobuf.ByteString |
getQueryStringBytes()
A string of the format described
[here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
String getQueryString()
A string of the format described [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
string query_string = 1;
com.google.protobuf.ByteString getQueryStringBytes()
A string of the format described [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
string query_string = 1;
boolean getAllowLiterals()
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;
int getNamedBindingsCount()
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_$][A-Za-z_$0-9]*`, must not match regex `__.*__`, and must not be `""`.
map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
boolean containsNamedBindings(String key)
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_$][A-Za-z_$0-9]*`, must not match regex `__.*__`, and must not be `""`.
map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
@Deprecated Map<String,GqlQueryParameter> getNamedBindings()
getNamedBindingsMap()
instead.Map<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_$][A-Za-z_$0-9]*`, must not match regex `__.*__`, and must not be `""`.
map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
GqlQueryParameter getNamedBindingsOrDefault(String key, GqlQueryParameter defaultValue)
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_$][A-Za-z_$0-9]*`, must not match regex `__.*__`, and must not be `""`.
map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
GqlQueryParameter getNamedBindingsOrThrow(String key)
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_$][A-Za-z_$0-9]*`, must not match regex `__.*__`, and must not be `""`.
map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
List<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;
GqlQueryParameter getPositionalBindings(int index)
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;
int getPositionalBindingsCount()
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;
List<? extends GqlQueryParameterOrBuilder> 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;
GqlQueryParameterOrBuilder getPositionalBindingsOrBuilder(int index)
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;
Copyright © 2023 Google LLC. All rights reserved.