Class BigRecord::ConnectionAdapters::HbaseAdapter
In: lib/big_record/connection_adapters/hbase_adapter.rb
Parent: AbstractAdapter

Methods

Constants

LOST_CONNECTION_ERROR_MESSAGES = [ "Server shutdown in progress", "Broken pipe", "Lost connection to HBase server during query", "HBase server has gone away"
TYPE_NULL = 0x00;   data types
TYPE_STRING = 0x01;
TYPE_BOOLEAN = 0x04;   TYPE_INTEGER = 0x02; # delegate to YAML TYPE_FLOAT = 0x03; # fixed 1 byte
TYPE_BINARY = 0x07;   TYPE_MAP = 0x05; # delegate to YAML TYPE_DATETIME = 0x06; # delegate to YAML
CHARSET = "utf-8"   string charset
NULL = "\000"   utility constants

Public Class methods

Public Instance methods

CONNECTION MANAGEMENT ====================================

add_family(table_name, column_name, options = {})

Alias for add_column_family

Serialize an object in a given type

Deserialize the given string. This method supports both the pure YAML format and the type header format.

Deserialize the given string assumed to be in the type header format.

SCHEMA STATEMENTS ========================================

modify_family(table_name, column_name, options = {})
remove_family(table_name, column_name)

Serialize the given value

DATABASE STATEMENTS ======================================

Protected Instance methods

[Validate]