Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addCmdLineOption(String) - Method in class com.google.datastore.v1.client.DatastoreEmulatorOptions.Builder
- addCmdLineOptions(Collection<String>) - Method in class com.google.datastore.v1.client.DatastoreEmulatorOptions.Builder
- addEnvVar(String, String) - Method in class com.google.datastore.v1.client.DatastoreEmulatorOptions.Builder
-
Adds an environment variable to pass to the emulator.
- allocateIds(AllocateIdsRequest) - Method in class com.google.datastore.v1.client.Datastore
B
- beginTransaction(BeginTransactionRequest) - Method in class com.google.datastore.v1.client.Datastore
- build() - Method in class com.google.datastore.v1.client.DatastoreEmulatorOptions.Builder
- build() - Method in class com.google.datastore.v1.client.DatastoreOptions.Builder
- Builder() - Constructor for class com.google.datastore.v1.client.DatastoreEmulatorOptions.Builder
- Builder() - Constructor for class com.google.datastore.v1.client.DatastoreOptions.Builder
- Builder(DatastoreOptions) - Constructor for class com.google.datastore.v1.client.DatastoreOptions.Builder
C
- clear() - Method in class com.google.datastore.v1.client.DatastoreEmulator
-
Clears all data in the emulator.
- com.google.datastore.v1.client - package com.google.datastore.v1.client
- com.google.datastore.v1.client.testing - package com.google.datastore.v1.client.testing
- commit(CommitRequest) - Method in class com.google.datastore.v1.client.Datastore
- create(DatastoreOptions) - Method in class com.google.datastore.v1.client.DatastoreEmulatorFactory
- create(DatastoreOptions) - Method in class com.google.datastore.v1.client.DatastoreFactory
-
Provides access to a datastore using the provided options.
- create(DatastoreOptions, DatastoreEmulatorOptions) - Method in class com.google.datastore.v1.client.DatastoreEmulatorFactory
- credential(Credential) - Method in class com.google.datastore.v1.client.DatastoreOptions.Builder
-
Sets the Google APIs
Credentialused to access Cloud Datastore.
D
- Datastore - Class in com.google.datastore.v1.client
-
Provides access to Cloud Datastore.
- DatastoreEmulator - Class in com.google.datastore.v1.client
-
An extension to
Datastorethat provides lifecycle management for a datastore emulator. - DatastoreEmulatorException - Exception in com.google.datastore.v1.client
-
An exception related to the
DatastoreEmulator. - DatastoreEmulatorException(String) - Constructor for exception com.google.datastore.v1.client.DatastoreEmulatorException
- DatastoreEmulatorException(String, Throwable) - Constructor for exception com.google.datastore.v1.client.DatastoreEmulatorException
- DatastoreEmulatorFactory - Class in com.google.datastore.v1.client
-
Factory for
DatastoreEmulator. - DatastoreEmulatorOptions - Class in com.google.datastore.v1.client
-
An immutable object containing settings for a
DatastoreEmulator. - DatastoreEmulatorOptions.Builder - Class in com.google.datastore.v1.client
-
Builder for
DatastoreEmulatorOptions. - DatastoreException - Exception in com.google.datastore.v1.client
-
Indicates an error in a
Datastorecall. - DatastoreException(String, Code, String, Throwable) - Constructor for exception com.google.datastore.v1.client.DatastoreException
- DatastoreFactory - Class in com.google.datastore.v1.client
-
Client factory for
Datastore. - DatastoreFactory() - Constructor for class com.google.datastore.v1.client.DatastoreFactory
- DatastoreHelper - Class in com.google.datastore.v1.client
-
Helper methods for
Datastore. - DatastoreOptions - Class in com.google.datastore.v1.client
-
An immutable object containing settings for the datastore.
- DatastoreOptions.Builder - Class in com.google.datastore.v1.client
-
Builder for
DatastoreOptions. - DEFAULT_HOST - Static variable in class com.google.datastore.v1.client.DatastoreFactory
G
- get() - Static method in class com.google.datastore.v1.client.DatastoreEmulatorFactory
- get() - Static method in class com.google.datastore.v1.client.DatastoreFactory
- getBoolean(Value) - Static method in class com.google.datastore.v1.client.DatastoreHelper
- getByteString(Value) - Static method in class com.google.datastore.v1.client.DatastoreHelper
- getCmd() - Method in class com.google.datastore.v1.client.DatastoreEmulatorOptions
- getCmdLineOptions() - Method in class com.google.datastore.v1.client.DatastoreEmulatorOptions
- getCode() - Method in exception com.google.datastore.v1.client.DatastoreException
- getCredential() - Method in class com.google.datastore.v1.client.DatastoreOptions
- getDatastoreFromEnv() - Static method in class com.google.datastore.v1.client.DatastoreHelper
- getDouble(Value) - Static method in class com.google.datastore.v1.client.DatastoreHelper
- getEntity(Value) - Static method in class com.google.datastore.v1.client.DatastoreHelper
- getEnvVars() - Method in class com.google.datastore.v1.client.DatastoreEmulatorOptions
- getHost() - Method in class com.google.datastore.v1.client.DatastoreOptions
- getInitializer() - Method in class com.google.datastore.v1.client.DatastoreOptions
- getKey(Value) - Static method in class com.google.datastore.v1.client.DatastoreHelper
- getKeyComparator() - Static method in class com.google.datastore.v1.client.DatastoreHelper
- getLastApiFormatHeaderValue() - Method in class com.google.datastore.v1.client.testing.MockDatastoreFactory
- getLastBody() - Method in class com.google.datastore.v1.client.testing.MockDatastoreFactory
- getLastCookies() - Method in class com.google.datastore.v1.client.testing.MockDatastoreFactory
- getLastMimeType() - Method in class com.google.datastore.v1.client.testing.MockDatastoreFactory
- getLastPath() - Method in class com.google.datastore.v1.client.testing.MockDatastoreFactory
- getList(Value) - Static method in class com.google.datastore.v1.client.DatastoreHelper
- getLocalHost() - Method in class com.google.datastore.v1.client.DatastoreOptions
- getLong(Value) - Static method in class com.google.datastore.v1.client.DatastoreHelper
- getMethodName() - Method in exception com.google.datastore.v1.client.DatastoreException
- getOptionsFromEnv() - Static method in class com.google.datastore.v1.client.DatastoreHelper
-
Constructs a
Datastorefrom environment variables and/or the Compute Engine metadata server. - getProjectDirectory() - Method in class com.google.datastore.v1.client.DatastoreEmulator
- getProjectEndpoint() - Method in class com.google.datastore.v1.client.DatastoreOptions
- getProjectId() - Method in class com.google.datastore.v1.client.DatastoreEmulatorOptions
- getProjectId() - Method in class com.google.datastore.v1.client.DatastoreOptions
- getProjectIdFromComputeEngine() - Static method in class com.google.datastore.v1.client.DatastoreHelper
-
Gets the project ID from the Compute Engine metadata server.
- getQuerySplitter() - Static method in class com.google.datastore.v1.client.DatastoreHelper
-
Gets a
QuerySplitter. - getRpcCount() - Method in class com.google.datastore.v1.client.Datastore
-
Returns the number of RPC calls made since the client was created or
Datastore.resetRpcCount()was called. - getServiceAccountCredential(String, String) - Static method in class com.google.datastore.v1.client.DatastoreHelper
-
Constructs credentials for the given account and key.
- getServiceAccountCredential(String, String, Collection<String>) - Static method in class com.google.datastore.v1.client.DatastoreHelper
-
Constructs credentials for the given account and key file.
- getServiceAccountCredential(String, PrivateKey, Collection<String>) - Static method in class com.google.datastore.v1.client.DatastoreHelper
-
Constructs credentials for the given account and key.
- getSplits(Query, PartitionId, int, Datastore) - Method in interface com.google.datastore.v1.client.QuerySplitter
-
Returns a list of sharded
Querys for the given query. - getSplits(Query, PartitionId, int, Datastore, Timestamp) - Method in interface com.google.datastore.v1.client.QuerySplitter
-
Same as
QuerySplitter.getSplits(Query, PartitionId, int, Datastore)but the splits are based onreadTime, and the returned shardedQuerys should also be executed withreadTime. - getString(Value) - Static method in class com.google.datastore.v1.client.DatastoreHelper
- getTimestamp(Value) - Static method in class com.google.datastore.v1.client.DatastoreHelper
- getTransport() - Method in class com.google.datastore.v1.client.DatastoreOptions
H
- host(String) - Method in class com.google.datastore.v1.client.DatastoreOptions.Builder
-
Sets the host used to access Cloud Datastore.
I
- initializer(HttpRequestInitializer) - Method in class com.google.datastore.v1.client.DatastoreOptions.Builder
-
Sets the (optional) initializer to run on HTTP requests to Cloud Datastore.
K
- KEY_PROPERTY_NAME - Static variable in class com.google.datastore.v1.client.DatastoreHelper
-
The property used in the Datastore to get the key of the entity
L
- LOCAL_HOST_ENV_VAR - Static variable in class com.google.datastore.v1.client.DatastoreHelper
-
Name of the environment variable used to set the local host.
- localHost(String) - Method in class com.google.datastore.v1.client.DatastoreOptions.Builder
-
Configures the client to access Cloud Datastore on a local host (typically a Cloud Datastore Emulator instance).
- logMethodCalls() - Static method in class com.google.datastore.v1.client.DatastoreFactory
-
Starts logging datastore method calls to the console.
- lookup(LookupRequest) - Method in class com.google.datastore.v1.client.Datastore
M
- makeAncestorFilter(Key) - Static method in class com.google.datastore.v1.client.DatastoreHelper
-
Makes an ancestor filter.
- makeAndFilter(Filter...) - Static method in class com.google.datastore.v1.client.DatastoreHelper
-
Make a composite filter from the given sub-filters using AND to combine filters.
- makeAndFilter(Iterable<Filter>) - Static method in class com.google.datastore.v1.client.DatastoreHelper
-
Make a composite filter from the given sub-filters using AND to combine filters.
- makeClient(DatastoreOptions) - Method in class com.google.datastore.v1.client.DatastoreFactory
-
Constructs a Google APIs HTTP client with the associated credentials.
- makeClient(DatastoreOptions) - Method in class com.google.datastore.v1.client.testing.MockDatastoreFactory
- makeDelete(Key) - Static method in class com.google.datastore.v1.client.DatastoreHelper
- makeFilter(String, PropertyFilter.Operator, Value) - Static method in class com.google.datastore.v1.client.DatastoreHelper
-
Make a filter on a property for use in a query.
- makeFilter(String, PropertyFilter.Operator, Value.Builder) - Static method in class com.google.datastore.v1.client.DatastoreHelper
-
Make a filter on a property for use in a query.
- makeInsert(Entity) - Static method in class com.google.datastore.v1.client.DatastoreHelper
- makeKey(Object...) - Static method in class com.google.datastore.v1.client.DatastoreHelper
-
Make a key from the specified path of kind/id-or-name pairs and/or Keys.
- makeOrder(String, PropertyOrder.Direction) - Static method in class com.google.datastore.v1.client.DatastoreHelper
-
Make a sort order for use in a query.
- makePropertyReference(String) - Static method in class com.google.datastore.v1.client.DatastoreHelper
-
Make a property reference for use in a query.
- makeUpdate(Entity) - Static method in class com.google.datastore.v1.client.DatastoreHelper
- makeUpsert(Entity) - Static method in class com.google.datastore.v1.client.DatastoreHelper
- makeValue(boolean) - Static method in class com.google.datastore.v1.client.DatastoreHelper
-
Make a boolean value.
- makeValue(double) - Static method in class com.google.datastore.v1.client.DatastoreHelper
-
Make a floating point value.
- makeValue(long) - Static method in class com.google.datastore.v1.client.DatastoreHelper
-
Make an integer value.
- makeValue(Entity) - Static method in class com.google.datastore.v1.client.DatastoreHelper
-
Make an entity value.
- makeValue(Entity.Builder) - Static method in class com.google.datastore.v1.client.DatastoreHelper
-
Make a entity value.
- makeValue(Key) - Static method in class com.google.datastore.v1.client.DatastoreHelper
-
Make a key value.
- makeValue(Key.Builder) - Static method in class com.google.datastore.v1.client.DatastoreHelper
-
Make a key value.
- makeValue(Value.Builder, Value.Builder, Value.Builder...) - Static method in class com.google.datastore.v1.client.DatastoreHelper
-
Make an array value containing the specified values.
- makeValue(Value, Value, Value...) - Static method in class com.google.datastore.v1.client.DatastoreHelper
-
Make a list value containing the specified values.
- makeValue(ByteString) - Static method in class com.google.datastore.v1.client.DatastoreHelper
-
Make a ByteString value.
- makeValue(LatLng) - Static method in class com.google.datastore.v1.client.DatastoreHelper
-
Makes a GeoPoint value.
- makeValue(LatLng.Builder) - Static method in class com.google.datastore.v1.client.DatastoreHelper
-
Makes a GeoPoint value.
- makeValue(Iterable<Value>) - Static method in class com.google.datastore.v1.client.DatastoreHelper
-
Make an array value containing the specified values.
- makeValue(String) - Static method in class com.google.datastore.v1.client.DatastoreHelper
-
Make a string value.
- makeValue(Date) - Static method in class com.google.datastore.v1.client.DatastoreHelper
-
Make a timestamp value given a date.
- MockCredential - Class in com.google.datastore.v1.client.testing
-
Fake credential used for testing purpose.
- MockCredential() - Constructor for class com.google.datastore.v1.client.testing.MockCredential
- MockDatastoreFactory - Class in com.google.datastore.v1.client.testing
-
Fake Datastore factory used for testing purposes when a true Datastore service is not needed.
- MockDatastoreFactory() - Constructor for class com.google.datastore.v1.client.testing.MockDatastoreFactory
N
- newRemoteRpc(DatastoreOptions) - Method in class com.google.datastore.v1.client.DatastoreFactory
P
- PRIVATE_KEY_FILE_ENV_VAR - Static variable in class com.google.datastore.v1.client.DatastoreHelper
-
Name of the environment variable used to set the private key file.
- PROJECT_ID_ENV_VAR - Static variable in class com.google.datastore.v1.client.DatastoreHelper
-
Name of the environment variable used to set the project ID.
- projectEndpoint(String) - Method in class com.google.datastore.v1.client.DatastoreOptions.Builder
-
Deprecated.
- projectId(String) - Method in class com.google.datastore.v1.client.DatastoreOptions.Builder
-
Sets the project ID used to access Cloud Datastore.
Q
- QuerySplitter - Interface in com.google.datastore.v1.client
-
Provides the ability to split a query into multiple shards.
R
- reserveIds(ReserveIdsRequest) - Method in class com.google.datastore.v1.client.Datastore
- resetRpcCount() - Method in class com.google.datastore.v1.client.Datastore
-
Reset the RPC count.
- rollback(RollbackRequest) - Method in class com.google.datastore.v1.client.Datastore
- runAggregationQuery(RunAggregationQueryRequest) - Method in class com.google.datastore.v1.client.Datastore
- runQuery(RunQueryRequest) - Method in class com.google.datastore.v1.client.Datastore
S
- SCATTER_PROPERTY_NAME - Static variable in class com.google.datastore.v1.client.DatastoreHelper
-
The property used in the Datastore to give us a random distribution
- SCOPES - Static variable in class com.google.datastore.v1.client.DatastoreOptions
- SERVICE_ACCOUNT_ENV_VAR - Static variable in class com.google.datastore.v1.client.DatastoreHelper
-
Name of the environment variable used to set the service account.
- setCommand(String) - Method in class com.google.datastore.v1.client.DatastoreEmulatorOptions.Builder
- setNextError(int, Code, String) - Method in class com.google.datastore.v1.client.testing.MockDatastoreFactory
- setNextException(IOException) - Method in class com.google.datastore.v1.client.testing.MockDatastoreFactory
- setNextResponse(Message) - Method in class com.google.datastore.v1.client.testing.MockDatastoreFactory
- setProjectId(String) - Method in class com.google.datastore.v1.client.DatastoreEmulatorOptions.Builder
- start() - Method in class com.google.datastore.v1.client.DatastoreEmulator
- start(String, String, String...) - Method in class com.google.datastore.v1.client.DatastoreEmulator
-
Deprecated.prefer setting options in the emulator options and calling {#start()}.
- stop() - Method in class com.google.datastore.v1.client.DatastoreEmulator
-
Stops the emulator.
- stopEmulatorInternal() - Method in class com.google.datastore.v1.client.DatastoreEmulator
T
- toDate(Value) - Static method in class com.google.datastore.v1.client.DatastoreHelper
-
Convert a timestamp value into a
Dateclipping off the microseconds. - toString() - Method in exception com.google.datastore.v1.client.DatastoreException
- transport(HttpTransport) - Method in class com.google.datastore.v1.client.DatastoreOptions.Builder
-
Sets the transport used to access Cloud Datastore.
V
- VERSION - Static variable in class com.google.datastore.v1.client.DatastoreFactory
-
API version.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
DatastoreOptions.Builder.projectIdand/orDatastoreOptions.Builder.host/DatastoreOptions.Builder.localHostinstead.