def primary_key
#
struct Storage::PhysicalTable
Defined in:
storage/table/physical_table.crConstant Summary
-
MUTEX_SHARDS =
2 << 12
Constructors
Instance Method Summary
- #build_index(index : Manager::Index)
- #create_index(name : String, function : ReQL::Func, multi : Bool)
- #db_name : String
- #estimated_count
- #get(key)
- #get_all_indices_status
- #get_index_list
- #get_index_status(name : String)
- #index_scan(index_name : String, index_value_start : ReQL::Datum, index_value_end : ReQL::Datum, &block : Hash(String, ReQL::Datum) -> )
- #name : String
- #primary_key
- #read_docs_on_table : PerSecondMetric
- #read_docs_on_table=(read_docs_on_table : PerSecondMetric)
- #replace(key, durability : ReQL::Durability | Nil = nil, &)
- #scan(&)
- #update_index_data(t, index, key_data, old_row, new_row)
- #written_docs_on_table : PerSecondMetric
- #written_docs_on_table=(written_docs_on_table : PerSecondMetric)
Instance methods inherited from struct Storage::AbstractTable
close
close,
db_name : String
db_name,
get(key)
get,
index_scan(index_name : String, index_value_start : ReQL::Datum, index_value_end : ReQL::Datum, &block : Hash(String, ReQL::Datum) -> )
index_scan,
initialize
initialize,
name : String
name,
primary_key
primary_key,
replace(key : ReQL::Datum, durability : ReQL::Durability | Nil = nil, &block : Hash(String, ReQL::Datum) | Nil -> Hash(String, ReQL::Datum) | Nil)
replace,
scan(&block : Hash(String, ReQL::Datum) -> )
scan
Constructor methods inherited from struct Storage::AbstractTable
new
new
Instance methods inherited from class Object
!=(other : RethinkDB::DSL::R)
!=,
%(other : RethinkDB::DSL::R)
%,
&(other : RethinkDB::DSL::R)
&,
*(other : RethinkDB::DSL::R)
*,
+(other : RethinkDB::DSL::R)
+,
-(other : RethinkDB::DSL::R)
-,
/(other : RethinkDB::DSL::R)
/,
<(other : RethinkDB::DSL::R)
<,
<=(other : RethinkDB::DSL::R)
<=,
==(other : RethinkDB::DSL::R)
==,
>(other : RethinkDB::DSL::R)
>,
>=(other : RethinkDB::DSL::R)
>=,
|(other : RethinkDB::DSL::R)
|
Constructor Detail
Instance Method Detail
def index_scan(index_name : String, index_value_start : ReQL::Datum, index_value_end : ReQL::Datum, &block : Hash(String, ReQL::Datum) -> )
#