Module: Aerospike

Extended by:
Loggable
Defined in:
lib/aerospike/bin.rb,
lib/aerospike.rb,
lib/aerospike/key.rb,
lib/aerospike/ttl.rb,
lib/aerospike/udf.rb,
lib/aerospike/host.rb,
lib/aerospike/info.rb,
lib/aerospike/node.rb,
lib/aerospike/peer.rb,
lib/aerospike/role.rb,
lib/aerospike/peers.rb,
lib/aerospike/client.rb,
lib/aerospike/record.rb,
lib/aerospike/cluster.rb,
lib/aerospike/exp/exp.rb,
lib/aerospike/version.rb,
lib/aerospike/features.rb,
lib/aerospike/geo_json.rb,
lib/aerospike/language.rb,
lib/aerospike/loggable.rb,
lib/aerospike/operation.rb,
lib/aerospike/privilege.rb,
lib/aerospike/task/task.rb,
lib/aerospike/user_role.rb,
lib/aerospike/host/parse.rb,
lib/aerospike/socket/ssl.rb,
lib/aerospike/socket/tcp.rb,
lib/aerospike/utils/pool.rb,
lib/aerospike/cdt/context.rb,
lib/aerospike/exp/exp_bit.rb,
lib/aerospike/exp/exp_hll.rb,
lib/aerospike/exp/exp_map.rb,
lib/aerospike/peers/fetch.rb,
lib/aerospike/peers/parse.rb,
lib/aerospike/result_code.rb,
lib/aerospike/socket/base.rb,
lib/aerospike/value/value.rb,
lib/aerospike/exp/exp_list.rb,
lib/aerospike/query/filter.rb,
lib/aerospike/utils/buffer.rb,
lib/aerospike/utils/packer.rb,
lib/aerospike/atomic/atomic.rb,
lib/aerospike/cdt/map_order.rb,
lib/aerospike/exp/operation.rb,
lib/aerospike/policy/policy.rb,
lib/aerospike/cdt/bit_policy.rb,
lib/aerospike/cdt/hll_policy.rb,
lib/aerospike/cdt/list_order.rb,
lib/aerospike/cdt/map_policy.rb,
lib/aerospike/node/rebalance.rb,
lib/aerospike/node_validator.rb,
lib/aerospike/policy/replica.rb,
lib/aerospike/query/pred_exp.rb,
lib/aerospike/utils/unpacker.rb,
lib/aerospike/cdt/list_policy.rb,
lib/aerospike/command/command.rb,
lib/aerospike/node/generation.rb,
lib/aerospike/policy/priority.rb,
lib/aerospike/query/recordset.rb,
lib/aerospike/query/statement.rb,
lib/aerospike/task/index_task.rb,
lib/aerospike/node/verify/name.rb,
lib/aerospike/policy/auth_mode.rb,
lib/aerospike/cdt/bit_operation.rb,
lib/aerospike/cdt/hll_operation.rb,
lib/aerospike/cdt/map_operation.rb,
lib/aerospike/cluster/find_node.rb,
lib/aerospike/cluster/partition.rb,
lib/aerospike/connection/create.rb,
lib/aerospike/node/refresh/info.rb,
lib/aerospike/query/pred_exp/op.rb,
lib/aerospike/task/execute_task.rb,
lib/aerospike/cdt/list_operation.rb,
lib/aerospike/cdt/map_write_mode.rb,
lib/aerospike/command/batch_item.rb,
lib/aerospike/command/field_type.rb,
lib/aerospike/node/refresh/peers.rb,
lib/aerospike/node/refresh/racks.rb,
lib/aerospike/node/refresh/reset.rb,
lib/aerospike/policy/scan_policy.rb,
lib/aerospike/query/scan_command.rb,
lib/aerospike/aerospike_exception.rb,
lib/aerospike/cdt/bit_write_flags.rb,
lib/aerospike/cdt/hll_write_flags.rb,
lib/aerospike/cdt/list_sort_flags.rb,
lib/aerospike/cdt/map_return_type.rb,
lib/aerospike/cdt/map_write_flags.rb,
lib/aerospike/cluster/rack_parser.rb,
lib/aerospike/node/refresh/failed.rb,
lib/aerospike/policy/admin_policy.rb,
lib/aerospike/policy/batch_policy.rb,
lib/aerospike/policy/commit_level.rb,
lib/aerospike/policy/query_policy.rb,
lib/aerospike/policy/write_policy.rb,
lib/aerospike/query/query_command.rb,
lib/aerospike/query/scan_executor.rb,
lib/aerospike/utils/string_parser.rb,
lib/aerospike/value/particle_type.rb,
lib/aerospike/cdt/bit_resize_flags.rb,
lib/aerospike/cdt/list_return_type.rb,
lib/aerospike/cdt/list_write_flags.rb,
lib/aerospike/command/operate_args.rb,
lib/aerospike/command/read_command.rb,
lib/aerospike/node/refresh/friends.rb,
lib/aerospike/policy/client_policy.rb,
lib/aerospike/query/pred_exp/regex.rb,
lib/aerospike/query/query_executor.rb,
lib/aerospike/query/server_command.rb,
lib/aerospike/query/stream_command.rb,
lib/aerospike/task/udf_remove_task.rb,
lib/aerospike/command/admin_command.rb,
lib/aerospike/command/login_command.rb,
lib/aerospike/command/multi_command.rb,
lib/aerospike/command/touch_command.rb,
lib/aerospike/command/write_command.rb,
lib/aerospike/policy/operate_policy.rb,
lib/aerospike/query/node_partitions.rb,
lib/aerospike/query/pred_exp/and_or.rb,
lib/aerospike/utils/connection_pool.rb,
lib/aerospike/command/delete_command.rb,
lib/aerospike/command/exists_command.rb,
lib/aerospike/command/single_command.rb,
lib/aerospike/query/partition_filter.rb,
lib/aerospike/query/partition_status.rb,
lib/aerospike/task/udf_register_task.rb,
lib/aerospike/cdt/bit_overflow_action.rb,
lib/aerospike/command/execute_command.rb,
lib/aerospike/command/operate_command.rb,
lib/aerospike/connection/authenticate.rb,
lib/aerospike/node/refresh/partitions.rb,
lib/aerospike/query/partition_tracker.rb,
lib/aerospike/cluster/partition_parser.rb,
lib/aerospike/command/batch_index_node.rb,
lib/aerospike/node/verify/cluster_name.rb,
lib/aerospike/policy/consistency_level.rb,
lib/aerospike/policy/generation_policy.rb,
lib/aerospike/cluster/create_connection.rb,
lib/aerospike/command/batch_direct_node.rb,
lib/aerospike/query/pred_exp/regex_flags.rb,
lib/aerospike/command/batch_index_command.rb,
lib/aerospike/command/read_header_command.rb,
lib/aerospike/policy/record_exists_action.rb,
lib/aerospike/query/pred_exp/string_value.rb,
lib/aerospike/cluster/find_nodes_to_remove.rb,
lib/aerospike/command/batch_direct_command.rb,
lib/aerospike/node/verify/peers_generation.rb,
lib/aerospike/query/pred_exp/integer_value.rb,
lib/aerospike/query/scan_partition_command.rb,
lib/aerospike/query/pred_exp/geo_json_value.rb,
lib/aerospike/query/query_partition_command.rb,
lib/aerospike/policy/record_bin_multiplicity.rb,
lib/aerospike/node/verify/partition_generation.rb,
lib/aerospike/node/verify/rebalance_generation.rb,
lib/aerospike/command/batch_index_exists_command.rb,
lib/aerospike/command/batch_direct_exists_command.rb,
lib/aerospike/command/unsupported_particle_type_validator.rb

Overview

Copyright 2015-2020 Aerospike, Inc.

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

#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.

Defined Under Namespace

Modules: AuthMode, CDT, CommitLevel, Connection, ConsistencyLevel, Exceptions, Features, FieldType, GenerationPolicy, Language, Loggable, ParticleType, Priority, RecordBinMultiplicity, RecordExistsAction, Replica, ResultCode, Socket, TTL, Utils Classes: AdminCommand, AdminPolicy, Atomic, BatchDirectCommand, BatchDirectExistsCommand, BatchDirectNode, BatchIndexCommand, BatchIndexExistsCommand, BatchIndexNode, BatchItem, BatchNamespace, BatchPolicy, Bin, BoolValue, Buffer, BytesValue, Client, ClientPolicy, Cluster, Command, ConnectionPool, DeleteCommand, ExecuteCommand, ExecuteTask, ExistsCommand, Exp, Filter, FloatValue, GeoJSON, GeoJSONValue, HLLValue, Host, IndexTask, InfinityValue, Info, IntegerValue, Key, ListValue, LoginCommand, MapValue, MultiCommand, Node, NodePartitions, NodeValidator, NullValue, OpResults, OperateArgs, OperateCommand, OperatePolicy, Operation, Packer, Partition, PartitionFilter, PartitionParser, PartitionStatus, PartitionTracker, Peer, Peers, Policy, Pool, PredExp, Privilege, QueryCommand, QueryExecutor, QueryPartitionCommand, QueryPolicy, RackParser, ReadCommand, ReadHeaderCommand, Record, Recordset, Role, ScanCommand, ScanExecutor, ScanPartitionCommand, ScanPolicy, ServerCommand, SingleCommand, Statement, StreamCommand, StringValue, Task, TouchCommand, UDF, UdfRegisterTask, UdfRemoveTask, Unpacker, UnsupportedParticleTypeValidator, UserRoles, Value, WildcardValue, WriteCommand, WritePolicy

Constant Summary collapse

VERSION =
"3.0.0"
NULL =
NullValue.new.freeze
INFINITY =
Value::INFINITY = InfinityValue.new.freeze
WILDCARD =
Value::WILDCARD = WildcardValue.new.freeze

Class Method Summary collapse

Methods included from Loggable

debug, default_logger, error, info, log_operations, logger, logger=, rails_logger, warn

Class Method Details

.encodingObject



572
573
574
# File 'lib/aerospike/value/value.rb', line 572

def self.encoding
  @_encoding ||= Encoding::UTF_8
end

.encoding=(encoding) ⇒ Object



576
577
578
# File 'lib/aerospike/value/value.rb', line 576

def self.encoding=(encoding)
  @_encoding = encoding
end