package
0.12.3
Repository: https://github.com/yo000/ignite-go-client.git
Documentation: pkg.go.dev

# Functions

Connect connects to the Apache Ignite cluster Returns: client.
HashCode calculates Java hash code for string.
HashCodeForSlice calculates Java hash code for byte array.
NewComplexObject is constructor for ComplexObject.
NewRequestCacheCreateWithConfiguration creates new handshake request object.
NewRequestHandshake creates new handshake request object.
NewRequestOperation creates new handshake request object.
NewResponseOperation is ResponseOperation constructor.
ReadArrayBinaryObject reads "binary object" value wrapped by array.
ReadArrayBools reads "bool" array value.
ReadArrayBytes reads "byte" array value.
ReadArrayChars reads "char" array value.
ReadArrayDoubles reads "double" array value.
ReadArrayFloats reads "float" array value.
ReadArrayInts reads "int" array value.
ReadArrayLongs reads "long" array value.
ReadArrayODates reads "Date" array value.
ReadArrayOStrings reads "String" array value.
ReadArrayOTimes reads "Time" array value.
ReadArrayOTimestamps reads "Timestamp" array value.
ReadArrayOUUIDs reads "UUID" array value.
ReadArrayShorts reads "short" array value.
ReadBool reads "bool" value.
ReadByte reads "byte" value.
ReadChar reads "char" value.
ReadComplexObject reads "complex object" value.
ReadDate reads "Date" object value.
ReadDouble reads "Double" value.
ReadFloat reads "float" value.
ReadInt reads "int" value.
ReadLong reads "long" value.
ReadObject read object.
ReadOString reads "string" object value or NULL (returns "").
ReadShort reads "short" value.
ReadString reads "string" value.
ReadTime reads "Time" object value.
ReadTimestamp reads "Timestamp" object value.
ReadUUID reads "UUID" object value.
ToDate converts Golang time.Time to Apache Ignite Date.
ToTime converts Golang time.Time to Apache Ignite Time.
WriteBool writes "bool" value.
WriteByte writes "byte" value.
WriteBytes writes byte slice.
WriteChar writes "char" value.
WriteDouble writes "double" value.
WriteFloat writes "float" value.
WriteInt writes "int" value.
WriteLong writes "long" value.
WriteNull writes NULL.
WriteOArrayBools writes "Bool" array object value.
WriteOArrayBytes writes "byte" array object value.
WriteOArrayChars writes "char" array object value.
WriteOArrayDoubles writes "double" array object value.
WriteOArrayFloats writes "float" array object value.
WriteOArrayGoInts writes "Go int" array object value.
WriteOArrayInts writes "int" array object value.
WriteOArrayLongs writes "long" array object value.
WriteOArrayODates writes "Date" array object value.
WriteOArrayOStrings writes "String" array object value.
WriteOArrayOTimes writes "Time" array object value.
WriteOArrayOTimestamps writes "Timestamp" array object value.
WriteOArrayOUUIDs writes "UUID" array object value.
WriteOArrayShorts writes "short" array object value.
WriteObject writes object.
WriteOBool writes "bool" object value.
WriteOByte writes "byte" object value.
WriteOChar writes "char" object value.
WriteOComplexObject writes complex object.
WriteODate writes "Date" object value.
WriteODouble writes "double" object value.
WriteOFloat writes "float" object value.
WriteOInt writes "int" object value.
WriteOLong writes "long" object value.
WriteOShort writes "short" object value.
WriteOString writes "string" object value String is marshalling as object in all cases.
WriteOTime writes "Time" object value Time is marshaled as object in all cases.
WriteOTimestamp writes "Timestamp" object value Timestamp is marshaled as object in all cases.
WriteOUUID writes "UUID" object value UUID is marshaled as object in all cases.
WriteShort writes "short" value.
WriteType writes object type code.

# Constants

CacheAtomicityModeAtomic is ATOMIC = 1.
CacheAtomicityModeTransactional is TRANSACTIONAL = 0.
CacheModeLocal is LOCAL = 0.
CacheModePartitioned is PARTITIONED = 2.
CacheModeReplicated is REPLICATED = 1.
ComplexObjectCompactFooter is compact footer, no field IDs.
ComplexObjectHasRaw is indicating that object has raw data FLAG_HAS_RAW = 0x0004.
ComplexObjectHasSchema is only raw data exists FLAG_HAS_SCHEMA = 0x0002.
ComplexObjectHeaderLength is complex object header length.
ComplexObjectOffsetOneByte is offsets take 1 byte FLAG_OFFSET_ONE_BYTE = 0x0008.
ComplexObjectOffsetTwoBytes is offsets take 2 bytes FLAG_OFFSET_TWO_BYTES = 0x0010.
ComplexObjectUserType is user type FLAG_USR_TYP = 0x0001.
ComplexObjectVersion is version of complex format.
OpCacheClear clears the cache without notifying listeners or cache writers.
OpCacheClearKey clears the cache key without notifying listeners or cache writers.
OpCacheClearKeys clears the cache keys without notifying listeners or cache writers.
OpCacheContainsKey returns a value indicating whether given key is present in cache.
OpCacheContainsKeys returns a value indicating whether all given keys are present in cache.
OpCacheCreateWithConfiguration creates cache with provided configuration.
OpCacheCreateWithName creates a cache with a given name.
OpCacheDestroy destroys cache with a given name.
OpCacheGet retrieves a value from cache by key.
OpCacheGetAll retrieves multiple key-value pairs from cache.
OpCacheGetAndPut puts a value with a given key to cache, and returns the previous value for that key.
OpCacheGetAndPutIfAbsent puts a value with a given key to cache only if the key does not already exist.
OpCacheGetAndRemove removes the cache entry with specified key, returning the value.
OpCacheGetAndReplace puts a value with a given key to cache, returning previous value for that key, if and only if there is a value currently mapped for that key.
OpCacheGetConfiguration gets configuration for the given cache.
OpCacheGetNames gets existing cache names.
OpCacheGetOrCreateWithConfiguration creates cache with provided configuration.
OpCacheGetOrCreateWithName creates a cache with a given name.
OpCacheGetSize gets the number of entries in cache.
OpCachePut puts a value with a given key to cache (overwriting existing value if any).
OpCachePutAll puts multiple key-value pairs to cache (overwriting existing associations if any).
OpCachePutIfAbsent puts a value with a given key to cache only if the key does not already exist.
OpCacheRemoveAll removes all entries from cache, notifying listeners and cache writers.
OpCacheRemoveIfEquals removes an entry with a given key if provided value is equal to actual value, notifying listeners and cache writers.
OpCacheRemoveKey removes an entry with a given key, notifying listeners and cache writers.
OpCacheRemoveKeys removes entries with given keys, notifying listeners and cache writers.
OpCacheReplace puts a value with a given key to cache only if the key already exists.
OpCacheReplaceIfEquals puts a value with a given key to cache only if the key already exists and value equals provided value.
OperationStatusSuccess means success.
OpQueryScan performs scan query.
OpQueryScanCursorGetPage fetches the next SQL query cursor page by cursor id that is obtained from OP_QUERY_SCAN.
OpQuerySQL executes an SQL query over data stored in the cluster.
OpQuerySQLCursorGetPage retrieves the next SQL query cursor page by cursor id from OP_QUERY_SQL.
OpQuerySQLFields performs SQL fields query.
OpQuerySQLFieldsCursorGetPage retrieves the next query result page by cursor id from OP_QUERY_SQL_FIELDS.
OpResourceClose closes a resource, such as query cursor.
PartitionLossPolicyIgnore is IGNORE = 4.
PartitionLossPolicyReadOnlyAll is READ_ONLY_ALL = 1.
PartitionLossPolicyReadOnlySafe is READ_ONLY_SAFE = 0.
PartitionLossPolicyReadWriteAll is READ_WRITE_ALL = 3.
PartitionLossPolicyReadWriteSafe is READ_WRITE_SAFE = 2.
PeekModeAll is ALL.
PeekModeBackup is BACKUP.
PeekModeNear is NEAR.
PeekModePrimary is PRIMARY.
QueryIndexTypeFullText is FULLTEXT = 1.
QueryIndexTypeGeospatial is GEOSPATIAL = 2.
QueryIndexTypeSorted is SORTED = 0.
RebalanceModeASync is ASYNC = 1.
RebalanceModeNone is NONE = 2.
RebalanceModeSync is SYNC = 0.
StatementTypeAny is ANY = 0.
StatementTypeSelect is SELECT = 1.
StatementTypeUpdate is UPDATE = 2.
WriteSynchronizationModeFullASync is FULL_ASYNC = 1.
WriteSynchronizationModeFullSync is FULL_SYNC = 0.
WriteSynchronizationModePrimarySync is PRIMARY_SYNC = 2.

# Structs

CacheConfiguration describes cache configuration.
CacheConfigurationRefs describes cache configuration to create new cache.
CacheKeyConfiguration is struct.
ComplexObject is "complex object" type.
ConnInfo contains connections parameters.
Field is struct.
FieldNameAlias is struct.
QueryEntity is struct.
QueryField is struct DefaultValue HAVE TO be defined, to byte(typeNULL) at least.
QueryIndex is struct.
QueryScanData input parameter for QueryScan func.
QueryScanPage is query result page.
QueryScanResult output from QueryScan func.
QuerySQLData input parameter for QuerySQL func.
QuerySQLFieldsData input parameter for QuerySQLFields func.
QuerySQLFieldsPage is query result page.
QuerySQLFieldsResult output from QuerySQLFields func.
QuerySQLPage is query result page.
QuerySQLResult output from QuerySQL func.
RequestCacheCreateWithConfiguration is struct to store operation request.
RequestHandshake is struct handshake request.
RequestOperation is struct to store operation request.
ResponseHandshake is struct handshake response.
ResponseOperation is struct operation response.

# Interfaces

Client is interface to communicate with Apache Ignite cluster.
Request is interface of base message request functionality.
Response is interface of base message response functionality.

# Type aliases

Char is Apache Ignite "char" type.
Date is Unix time, the number of MILLISECONDS elapsed since January 1, 1970 UTC.
Time is Apache Ignite Time type.