Karma::Commands::Directive
Inherits JSON::Serializable < Struct < Value < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(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)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
absolute_drift
Sourceabsolute_drift=(absolute_drift : Int64 | Nil)
Sourceafter_lsn
Sourceafter_lsn=(after_lsn : UInt64 | Nil)
Sourcebefore_unix
Sourcebefore_unix=(before_unix : Int64 | Nil)
Sourcebucket_from
Sourcebucket_range
Sourcebucket_range?
Sourcebucket_to
Sourcechecked_points
Sourcechecked_points=(checked_points : Int64 | Nil)
Sourcechunk_seq
Sourcechunk_seq=(chunk_seq : UInt64 | Nil)
Sourcecommand
Sourcecommand=(command : String)
Sourcecursor
Sourcecursor=(cursor : UInt64 | Nil)
Sourcedate
Sourcedate=(date : UInt64 | Nil)
Sourceevent_id
Sourceevent_id=(event_id : String | Nil)
Sourcefingerprint
Sourcefingerprint=(fingerprint : String | Nil)
Sourcegranularity
Sourcegranularity=(granularity : String | Nil)
Sourceidempotency_created_at_unix
Sourceidempotency_created_at_unix=(idempotency_created_at_unix : Int64 | Nil)
Sourceidempotency_key
Sourceidempotency_key=(idempotency_key : String | Nil)
Sourceitems
Sourcekey
Sourcekey=(key : UInt64 | Nil)
Sourcekey_value
Sourcekeyed?
Sourcekeys
Sourcelimit
Sourcelimit=(limit : Int32 | Nil)
Sourcemax_abs_delta
Sourcemax_abs_delta=(max_abs_delta : Int64 | Nil)
Sourcemismatch_count
Sourcemismatch_count=(mismatch_count : Int64 | Nil)
Sourcemode
Sourcemode=(mode : String | Nil)
Sourcemulti_sum_items
Sourceprotocol_version
Sourceprotocol_version=(protocol_version : UInt32)
Sourceseries
Sourceseries_key
Sourceseries_name
Sourcesource
Sourcesource=(source : String | Nil)
Sourcesource_offset
Sourcesource_offset=(source_offset : String | Nil)
Sourcestream_id
Sourcestream_id=(stream_id : String | Nil)
Sourcetime_from
Sourcetime_from=(time_from : UInt64 | Nil)
Sourcetime_to
Sourcetime_to=(time_to : UInt64 | Nil)
Sourcetoken
Sourcetoken=(token : String | Nil)
Sourcetree_name
Sourcetree_name=(tree_name : String | Nil)
Sourcevalue
Sourcevalue=(value : UInt64 | Nil)
Sourcewrite_bucket
Sourcewrite_value
Source