Sha256: 424d50c3d529c626efcaad67b147627ab5d8204e82ae5e8ac3a4f3e74f0c61f1

Contents?: true

Size: 1.57 KB

Versions: 2

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

2 entries across 2 versions & 1 rubygems

Version Path
aerospike-2.24.0 lib/aerospike/features.rb
aerospike-2.23.0 lib/aerospike/features.rb