struct

Karma::Commands::Directive

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
Source
new(command : String, tree_name : String | Nil = nil, key : UInt64 | Nil = nil, keys : Array(UInt64) | Nil = nil, items : Array(Array(UInt64)) | Nil = nil, multi_sum_items : Array(MultiSumItem) | Nil = nil, time_from : UInt64 | Nil = nil, time_to : UInt64 | Nil = nil, date : UInt64 | Nil = nil, value : UInt64 | Nil = nil, token : String | Nil = nil, stream_id : String | Nil = nil, mode : String | Nil = nil, chunk_seq : UInt64 | Nil = nil, granularity : String | Nil = nil, limit : Int32 | Nil = nil, cursor : UInt64 | Nil = nil, after_lsn : UInt64 | Nil = nil, checked_points : Int64 | Nil = nil, mismatch_count : Int64 | Nil = nil, absolute_drift : Int64 | Nil = nil, max_abs_delta : Int64 | Nil = nil, source : String | Nil = nil, source_offset : String | Nil = nil, event_id : String | Nil = nil, idempotency_key : String | Nil = nil, fingerprint : String | Nil = nil, idempotency_created_at_unix : Int64 | Nil = nil, before_unix : Int64 | Nil = nil, protocol_version : UInt32 = Karma::Protocol::VERSION)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

absolute_drift
Source
absolute_drift=(absolute_drift : Int64 | Nil)
Source
after_lsn
Source
after_lsn=(after_lsn : UInt64 | Nil)
Source
before_unix
Source
before_unix=(before_unix : Int64 | Nil)
Source
bucket_from
Source
bucket_range
Source
bucket_range?
Source
bucket_to
Source
checked_points
Source
checked_points=(checked_points : Int64 | Nil)
Source
chunk_seq
Source
chunk_seq=(chunk_seq : UInt64 | Nil)
Source
command
Source
command=(command : String)
Source
cursor
Source
cursor=(cursor : UInt64 | Nil)
Source
date
Source
date=(date : UInt64 | Nil)
Source
event_id
Source
event_id=(event_id : String | Nil)
Source
fingerprint
Source
fingerprint=(fingerprint : String | Nil)
Source
granularity
Source
granularity=(granularity : String | Nil)
Source
idempotency_created_at_unix
Source
idempotency_created_at_unix=(idempotency_created_at_unix : Int64 | Nil)
Source
idempotency_key
Source
idempotency_key=(idempotency_key : String | Nil)
Source
items
Source
items=(items : Array(Array(UInt64)) | Nil)
Source
key=(key : UInt64 | Nil)
Source
key_value
Source
keyed?
Source
keys
Source
keys=(keys : Array(UInt64) | Nil)
Source
limit
Source
limit=(limit : Int32 | Nil)
Source
max_abs_delta
Source
max_abs_delta=(max_abs_delta : Int64 | Nil)
Source
mismatch_count
Source
mismatch_count=(mismatch_count : Int64 | Nil)
Source
mode
Source
mode=(mode : String | Nil)
Source
multi_sum_items
Source
multi_sum_items=(multi_sum_items : Array(MultiSumItem) | Nil)
Source
protocol_version
Source
protocol_version=(protocol_version : UInt32)
Source
series
Source
series_key
Source
series_name
Source
source
Source
source=(source : String | Nil)
Source
source_offset
Source
source_offset=(source_offset : String | Nil)
Source
stream_id
Source
stream_id=(stream_id : String | Nil)
Source
time_from
Source
time_from=(time_from : UInt64 | Nil)
Source
time_to
Source
time_to=(time_to : UInt64 | Nil)
Source
token
Source
token=(token : String | Nil)
Source
tree_name
Source
tree_name=(tree_name : String | Nil)
Source
value
Source
value=(value : UInt64 | Nil)
Source
write_bucket
Source
write_value
Source