Namespace com.teracloud.streams.store.distributed
Operators
- DPSAux: The DPSAux operator's purpose is to support primitive Java operators that desire to use the DPS toolkit Java APIs.
- DpsGetTTLWithReconnect: Uses the dpsGetTTL function to read key-value pairs from DPS (of any type).
- DpsPutTTLWithReconnect: Uses the dpsPutTTL function to write key-value pairs to Redis (of any type).
Functions
- dpsBase64Decode(rstring, rstring): Base64 decode a given string.
- dpsBase64Encode(rstring, rstring): Base64 encode a given string.
- dpsBeginIteration(uint64, uint64): Gets a store iterator that can be used to iterate over all the key-value pairs in a given store id.
- dpsClear(uint64, uint64): Clear the given store.
- dpsCreateOrGetStore(rstring, T1, T2, uint64): Create a new process store with a given name or simply return its handle it already exists.
- dpsCreateStore(rstring, T1, T2, uint64): Create a new process store with a given name.
- dpsDeserialize(uint64, blob, T1, T2, uint64): Deserializes a given blob containing one or more serialized key-value pairs.
- dpsEndIteration(uint64, uint64, uint64): Ends a store iteration.
- dpsFindStore(rstring, uint64): Find a process store given its name.
- dpsGet(uint64, T1, T2, uint64): Given a key, retrieves its value from the given store.
- dpsGetDetailsAboutThisMachine(rstring, rstring, rstring): Get details of the client machine where this operator is running.
- dpsGetKVPairs(uint64, list<T1>, list<T2>, int32, int32, uint64): Read/fetch multiple Key/Value (KV) pairs present in a given store.
- dpsGetKeys(uint64, list<T1>, int32, int32, rstring, rstring, uint64): Read/fetch multiple keys present in a given store.
- dpsGetLastErrorCodeTTL(): Get the error code of the last error occurred involving data that was stored with a Time To Live (TTL).
- dpsGetLastErrorStringTTL(): Get the description of the last error that occurred involving data stored with a Time To Live (TTL).
- dpsGetLastStoreErrorCode(): Get the error code of the last store error.
- dpsGetLastStoreErrorString(): Get the description of the last store error.
- dpsGetNext(uint64, uint64, T1, T2, uint64): Get the next key and value of given types in the given store when iterating over all the items in the store.
- dpsGetNoSqlDbProductName(): Get the name of the NoSQL database product being used.
- dpsGetSafe(uint64, T1, T2, uint64): Given a key, retrieve its value from the given store.
- dpsGetSplTypeNameForKey(uint64): Get the SPL type name for the key of a given store id.
- dpsGetSplTypeNameForValue(uint64): Get the SPL type name for the value of a given store id.
- dpsGetStoreName(uint64): Get the store name for a given store id.
- dpsGetTTL(T1, T2, uint64): Get an item that was stored with a TTL (Time To Live in seconds) value.
- dpsGetTTL(T1, T2, uint64, boolean, boolean): Get an item that was stored with a TTL (Time To Live in seconds) value.
- dpsGetValues(uint64, list<T1>, list<boolean>, list<T2>, uint64): Read/fetch values for a given list of multiple keys present in a given store.
- dpsHas(uint64, T1, uint64): Check if an item exists in the given store.
- dpsHasKeys(uint64, list<T1>, list<boolean>, uint64): This function can be called to check for the existence of a given list of keys in a given store.
- dpsHasTTL(T1, uint64): Check if an item exists that was stored with a TTL (Time To Live in seconds) value.
- dpsHasTTL(T1, uint64, boolean): Check if an item exists that was stored with a TTL (Time To Live in seconds) value.
- dpsIsConnected(): Checks the connection status of the back-end data store.
- dpsPersist(uint64): Persist any operations involving stores used in this application to disk.
- dpsPut(uint64, T1, T2, uint64): Put a new key-value pair into a store.
- dpsPutKVPairs(uint64, list<T1>, list<T2>, uint64): Write multiple Key/Value (KV) pairs to a given store.
- dpsPutSafe(uint64, T1, T2, uint64): Put an item into the given store.
- dpsPutTTL(T1, T2, uint32, uint64): Put an key-value pair with in a TTL (Time To Live in seconds) value into the global area of the back-end data store.
- dpsPutTTL(T1, T2, uint32, uint64, boolean, boolean): Put a key-value pair with in a TTL (Time To Live in seconds) value into the global area of the back-end data store.
- dpsPutTTL(T1, T2, uint32, uint64, uint32, uint32, boolean, boolean): Put a key-value pair with in a TTL (Time To Live in seconds) value into the global area of the back-end data store.
- dpsReconnect(): Reconnect to the back-end data store.
- dpsRemove(uint64, T1, uint64): Remove an item from the given store.
- dpsRemoveKeys(uint64, list<T1>, int32, uint64): Remove a given list of keys from a given store.
- dpsRemoveStore(uint64, uint64): Remove a process store given its handle.
- dpsRemoveTTL(T1, uint64): Remove an item that was stored with a TTL (Time To Live in seconds) value.
- dpsRemoveTTL(T1, uint64, boolean): Remove an item that was stored with a TTL (Time To Live in seconds) value.
- dpsRunDataStoreCommand(list<rstring>, rstring, uint64): Run any aribitrary Redis command by providing the different parts of that Redis command inside a list of strings.
- dpsRunDataStoreCommand(rstring, uint64): Run simple arbitrary back-end data store (fire and forget) native commands.
- dpsRunDataStoreCommand(uint32, rstring, rstring, rstring, rstring, rstring, rstring, uint64): This is an advanced function that can be used to execute arbitrary back-end data store two way native commands for database technologies that work with cURL.
- dpsSerialize(uint64, blob, T1, T2, uint64): Serializes all the key-value pairs in a given store id into a blob.
- dpsSetConfigFile(rstring): Sets a path to the configuration file.
- dpsSize(uint64, uint64): Get the total number of key-value pairs in the given store.
- initializeDpsNoException(): Initialize the connection to the DPS without throwing an exception on failure.