Statement Class

Query statement.

Definition

Namespace: Aerospike.Client.KVS
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.0
C#
public sealed class Statement : IMessage<Statement>, 
	IMessage, IEquatable<Statement>, IDeepCloneable<Statement>, 
	IBufferMessage
Inheritance
Object    Statement
Implements
IBufferMessage, IDeepCloneableStatement, IMessage, IMessageStatement, IEquatableStatement

Constructors

StatementInitializes a new instance of the Statement class
Statement(Statement)Initializes a new instance of the Statement class

Properties

BinNames Optional bins names to return for each result record. If not specified all bins are returned.
Descriptor 
Filter Optional Filter encoded in Aerospike wire format.
FunctionArgs Aggregation function arguments encoded as bytes using Aerospike wire format.
FunctionName Aggregation function name.
HasIndexNameGets whether the "indexName" field is set
HasMaxRecordsGets whether the "maxRecords" field is set
HasRecordsPerSecondGets whether the "recordsPerSecond" field is set
HasSetNameGets whether the "setName" field is set
HasTaskIdGets whether the "taskId" field is set
IndexName Optional index name.
MaxRecords Approximate number of records to return to client. This number is divided by the number of nodes involved in the scan. The actual number of records returned may be less than maxRecords if node record counts are small and unbalanced across nodes. Default: 0 (do not limit record count)
Namespace The namespace to query.
Operations Operations to be performed on query encoded as bytes using Aerospike wire format.
PackageName Aggregation file name.
Parser 
RecordsPerSecond Limit returned records per second (rps) rate for each server. Do not apply rps limit if recordsPerSecond is zero. Default: 0
SetName Optional set name.
TaskId Optional taskId.

Methods

CalculateSize 
ClearIndexNameClears the value of the "indexName" field
ClearMaxRecordsClears the value of the "maxRecords" field
ClearRecordsPerSecondClears the value of the "recordsPerSecond" field
ClearSetNameClears the value of the "setName" field
ClearTaskIdClears the value of the "taskId" field
Clone 
Equals(Object)
(Overrides ObjectEquals(Object))
Equals(Statement) 
GetHashCode
(Overrides ObjectGetHashCode)
MergeFrom(CodedInputStream) 
MergeFrom(Statement) 
ToString
(Overrides ObjectToString)
WriteTo 

Fields

BinNamesFieldNumberField number for the "binNames" field.
FilterFieldNumberField number for the "filter" field.
FunctionArgsFieldNumberField number for the "functionArgs" field.
FunctionNameFieldNumberField number for the "functionName" field.
IndexNameFieldNumberField number for the "indexName" field.
MaxRecordsFieldNumberField number for the "maxRecords" field.
NamespaceFieldNumberField number for the "namespace" field.
OperationsFieldNumberField number for the "operations" field.
PackageNameFieldNumberField number for the "packageName" field.
RecordsPerSecondFieldNumberField number for the "recordsPerSecond" field.
SetNameFieldNumberField number for the "setName" field.
TaskIdFieldNumberField number for the "taskId" field.

See Also