Sha256: bb9d94be511c2c5bfc470879bef043ba27fdc759353665e52e6de6fa21835a59

Contents?: true

Size: 1.57 KB

Versions: 9

Compression:

Stored size: 1.57 KB

Contents

# frozen_string_literal: true

# Copyright 2014-2020 Aerospike, Inc.
#
# Portions may be licensed to Aerospike, Inc. under one or more contributor
# license agreements.
#
# Licensed under the Apache License, Version 2.0 (the "License") you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under
# the License.

module Aerospike

  # Feature flags describing capabilities of the Aerospike server cluster the
  # client is connected to. The list of supported server features can be
  # retrieved by issuing the "features" info command.
  module Features

    # Server supports List Complex Data Type (CDT)
    CDT_LIST = :"cdt-list"

    # Server supports Map Complex Data Type (CDT)
    CDT_MAP = :"cdt-map"

    # Server supports Float data type
    FLOAT = :float

    # Server supports geo-spatial data type and indexing
    GEO = :geo

    # Server requires "lut=now" in truncate command (AER-5955)
    LUT_NOW = :"lut-now"

    # Server supports the new "peers" protocol for automatic node discovery
    PEERS = :peers

    # Server supports the "truncate-namespace" command
    TRUNCATE_NAMESPACE = :"truncate-namespace"

    # Server supports the "blob-bits" command
    BLOB_BITS = :"blob-bits"
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
aerospike-2.22.0 lib/aerospike/features.rb
aerospike-2.21.1 lib/aerospike/features.rb
aerospike-2.21.0 lib/aerospike/features.rb
aerospike-2.20.1 lib/aerospike/features.rb
aerospike-2.20.0 lib/aerospike/features.rb
aerospike-2.19.0 lib/aerospike/features.rb
aerospike-2.18.0 lib/aerospike/features.rb
aerospike-2.17.0 lib/aerospike/features.rb
aerospike-2.16.0 lib/aerospike/features.rb