module Aerospike::CDT::ListOrder

Constants

DEFAULT

Default order

ORDERED

List is ordered

UNORDERED

List is not ordered. This is the default.

Public Class Methods

flag(attributes, pad) click to toggle source
# File lib/aerospike/cdt/list_order.rb, line 38
def self.flag(attributes, pad)
  (attributes == 1) ? 0xc0 : (pad ? 0x80 : 0x40)
end