struct Karma::Commands::Directive

Included Modules

Defined in:

commands/directive.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.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) #

[View source]

Instance Method Detail

def absolute_drift : Int64 | Nil #

[View source]
def absolute_drift=(absolute_drift : Int64 | Nil) #

[View source]
def after_lsn : UInt64 | Nil #

[View source]
def after_lsn=(after_lsn : UInt64 | Nil) #

[View source]
def before_unix : Int64 | Nil #

[View source]
def before_unix=(before_unix : Int64 | Nil) #

[View source]
def bucket_from : Karma::TimeSeries::Bucket #

[View source]
def bucket_range : Karma::TimeSeries::BucketRange #

[View source]
def bucket_range? : Karma::TimeSeries::BucketRange | Nil #

[View source]
def bucket_to : Karma::TimeSeries::Bucket #

[View source]
def checked_points : Int64 | Nil #

[View source]
def checked_points=(checked_points : Int64 | Nil) #

[View source]
def chunk_seq : UInt64 | Nil #

[View source]
def chunk_seq=(chunk_seq : UInt64 | Nil) #

[View source]
def command : String #

[View source]
def command=(command : String) #

[View source]
def cursor : UInt64 | Nil #

[View source]
def cursor=(cursor : UInt64 | Nil) #

[View source]
def date : UInt64 | Nil #

[View source]
def date=(date : UInt64 | Nil) #

[View source]
def event_id : String | Nil #

[View source]
def event_id=(event_id : String | Nil) #

[View source]
def fingerprint : String | Nil #

[View source]
def fingerprint=(fingerprint : String | Nil) #

[View source]
def granularity : String | Nil #

[View source]
def granularity=(granularity : String | Nil) #

[View source]
def idempotency_created_at_unix : Int64 | Nil #

[View source]
def idempotency_created_at_unix=(idempotency_created_at_unix : Int64 | Nil) #

[View source]
def idempotency_key : String | Nil #

[View source]
def idempotency_key=(idempotency_key : String | Nil) #

[View source]
def items : Array(Array(UInt64)) | Nil #

[View source]
def items=(items : Array(Array(UInt64)) | Nil) #

[View source]
def key : UInt64 | Nil #

[View source]
def key=(key : UInt64 | Nil) #

[View source]
def key_value : UInt64 #

[View source]
def keyed? : Bool #

[View source]
def keys : Array(UInt64) | Nil #

[View source]
def keys=(keys : Array(UInt64) | Nil) #

[View source]
def limit : Int32 | Nil #

[View source]
def limit=(limit : Int32 | Nil) #

[View source]
def max_abs_delta : Int64 | Nil #

[View source]
def max_abs_delta=(max_abs_delta : Int64 | Nil) #

[View source]
def mismatch_count : Int64 | Nil #

[View source]
def mismatch_count=(mismatch_count : Int64 | Nil) #

[View source]
def mode : String | Nil #

[View source]
def mode=(mode : String | Nil) #

[View source]
def multi_sum_items : Array(MultiSumItem) | Nil #

[View source]
def multi_sum_items=(multi_sum_items : Array(MultiSumItem) | Nil) #

[View source]
def protocol_version : UInt32 #

[View source]
def protocol_version=(protocol_version : UInt32) #

[View source]

[View source]
def series_key : Karma::TimeSeries::Key #

[View source]
def series_name : String #

[View source]
def source : String | Nil #

[View source]
def source=(source : String | Nil) #

[View source]
def source_offset : String | Nil #

[View source]
def source_offset=(source_offset : String | Nil) #

[View source]
def stream_id : String | Nil #

[View source]
def stream_id=(stream_id : String | Nil) #

[View source]
def time_from : UInt64 | Nil #

[View source]
def time_from=(time_from : UInt64 | Nil) #

[View source]
def time_to : UInt64 | Nil #

[View source]
def time_to=(time_to : UInt64 | Nil) #

[View source]
def token : String | Nil #

[View source]
def token=(token : String | Nil) #

[View source]
def tree_name : String | Nil #

[View source]
def tree_name=(tree_name : String | Nil) #

[View source]
def value : UInt64 | Nil #

[View source]
def value=(value : UInt64 | Nil) #

[View source]
def write_bucket : Karma::TimeSeries::Bucket #

[View source]
def write_value : UInt64 #

[View source]