Sha256: 8c6e086dd9ca203ad1eefead5fb72faef6b6de800dc73445412cfaf1071add81
Contents?: true
Size: 1.97 KB
Versions: 2
Compression:
Stored size: 1.97 KB
Contents
module OrientDB ClusterType = com.orientechnologies.orient.core.storage.OStorage::CLUSTER_TYPE Database = com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx DatabasePool = com.orientechnologies.orient.core.db.document.ODatabaseDocumentPool Document = com.orientechnologies.orient.core.record.impl.ODocument IndexType = com.orientechnologies.orient.core.metadata.schema.OProperty::INDEX_TYPE OClass = com.orientechnologies.orient.core.metadata.schema.OClass Property = com.orientechnologies.orient.core.metadata.schema.OProperty Schema = com.orientechnologies.orient.core.metadata.schema.OSchema SchemaType = com.orientechnologies.orient.core.metadata.schema.OType SQLQuery = com.orientechnologies.orient.core.sql.query.OSQLSynchQuery SQLCommand = com.orientechnologies.orient.core.sql.OCommandSQL User = com.orientechnologies.orient.core.metadata.security.OUser STORAGE_TYPES = %w{ LOGICAL MEMORY PHYSICAL }.inject({}) { |h, s| h[s.downcase.to_sym] = ClusterType.const_get s; h } INDEX_TYPES = %w{ FULLTEXT NOTUNIQUE UNIQUE }.inject({}) { |h, s| h[s.downcase.to_sym] = IndexType.const_get s; h } FIELD_TYPES = { :binary => "BINARY", :bool => "BOOLEAN", :boolean => "BOOLEAN", :double => "BYTE", :date => "DATE", :datetime => "DATE", :decimal => "FLOAT", :double => "DOUBLE", :embedded => "EMBEDDED", :embedded_list => "EMBEDDEDLIST", :embedded_map => "EMBEDDEDMAP", :embedded_set => "EMBEDDEDSET", :float => "FLOAT", :int => "INTEGER", :integer => "INTEGER", :link => "LINK", :link_list => "LINKLIST", :link_map => "LINKMAP", :link_set => "LINKSET", :long => "LONG", :short => "SHORT", :string => "STRING", }.inject({}) do |h, (k, v)| h[k] = SchemaType.const_get v h end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
orientdb-0.0.6-jruby | lib/orientdb/constants.rb |
orientdb-0.0.5-jruby | lib/orientdb/constants.rb |