class InfluxDB2::WriteApi::BatchItemKey

Key for batch item

Attributes

bucket[R]
org[R]
precision[R]

Public Class Methods

new(bucket, org, precision = DEFAULT_WRITE_PRECISION) click to toggle source
# File lib/influxdb2/client/write_api.rb, line 228
def initialize(bucket, org, precision = DEFAULT_WRITE_PRECISION)
  @bucket = bucket
  @org = org
  @precision = precision
end

Public Instance Methods

==(other) click to toggle source
# File lib/influxdb2/client/write_api.rb, line 235
def ==(other)
  @bucket == other.bucket && @org == other.org && @precision == other.precision
end
Also aliased as: eql?
eql?(other)
Alias for: ==
hash() click to toggle source
# File lib/influxdb2/client/write_api.rb, line 241
def hash
  @bucket.hash ^ @org.hash ^ @precision.hash # XOR
end