Class: OrientdbBinary::Database

Instance Attribute Summary collapse

Attributes inherited from OrientdbBase

#protocol, #session, #socket

Class Method Summary collapse

Methods included from OrientdbBinary::DatabaseOperations::Transaction

#tx_commit

Methods included from OrientdbBinary::DatabaseOperations::Query

#command, #query

Methods included from OrientdbBinary::DatabaseOperations::Record

#count_records, #create_record, #create_record_from_object, #delete_record, #load_record, #register_script, #update_record

Methods included from OrientdbBinary::DatabaseOperations::DataCluster

#add_datacluster, #count_datacluster, #datacluster_lh_cluster_is_used, #datarange_datacluster, #drop_datacluster, #find_datacluster_by

Methods included from OrientdbBinary::DatabaseOperations::DataSegment

#add_datasegment, #drop_datasegment

Methods included from OrientdbBinary::DatabaseOperations::BaseOperations

#close, #open, #reload, #size

Methods inherited from OrientdbBase

#close, #connected?, #disconnect, #initialize

Constructor Details

This class inherits a constructor from OrientdbBinary::OrientdbBase

Instance Attribute Details

#clustersObject

Returns the value of attribute clusters.



17
18
19
# File 'lib/orientdb_binary/database.rb', line 17

def clusters
  @clusters
end

Class Method Details

.connect(options) ⇒ Object



19
20
21
# File 'lib/orientdb_binary/database.rb', line 19

def self.connect(options)
  Database.new(options)
end