Class: Hypertable::ThriftGen::ScanSpec

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/hypertable/gen-rb/client_types.rb

Overview

Specifies options for a scan

<dl>

<dt>row_intervals</dt>
<dd>A list of ranges of rows to scan. Mutually exclusive with
cell_interval</dd>

<dt>cell_intervals</dt>
<dd>A list of ranges of cells to scan. Mutually exclusive with
row_intervals</dd>

<dt>return_deletes</dt>
<dd>Indicates whether cells pending delete are returned</dd>

<dt>revs</dt>
<dd>Specifies max number of revisions of cells to return</dd>

<dt>row_limit</dt>
<dd>Specifies max number of rows to return</dd>

<dt>start_time</dt>
<dd>Specifies start time in nanoseconds since epoch for cells to
return</dd>

<dt>end_time</dt>
<dd>Specifies end time in nanoseconds since epoch for cells to return</dd>

<dt>columns</dt>
<dd>Specifies the names of the columns to return</dd>

<dt>cell_limit</dt>
<dd>Specifies max number of cells to return per column family per row</dd>

</dl>

Constant Summary collapse

ROW_INTERVALS =
1
CELL_INTERVALS =
2
RETURN_DELETES =
3
REVS =
4
ROW_LIMIT =
5
START_TIME =
6
END_TIME =
7
COLUMNS =
8
KEYS_ONLY =
9
CELL_LIMIT =
10
FIELDS =
{
  ROW_INTERVALS => {:type => ::Thrift::Types::LIST, :name => 'row_intervals', :element => {:type => ::Thrift::Types::STRUCT, :class => Hypertable::ThriftGen::RowInterval}, :optional => true},
  CELL_INTERVALS => {:type => ::Thrift::Types::LIST, :name => 'cell_intervals', :element => {:type => ::Thrift::Types::STRUCT, :class => Hypertable::ThriftGen::CellInterval}, :optional => true},
  RETURN_DELETES => {:type => ::Thrift::Types::BOOL, :name => 'return_deletes', :default => false, :optional => true},
  REVS => {:type => ::Thrift::Types::I32, :name => 'revs', :default => 0, :optional => true},
  ROW_LIMIT => {:type => ::Thrift::Types::I32, :name => 'row_limit', :default => 0, :optional => true},
  START_TIME => {:type => ::Thrift::Types::I64, :name => 'start_time', :optional => true},
  END_TIME => {:type => ::Thrift::Types::I64, :name => 'end_time', :optional => true},
  COLUMNS => {:type => ::Thrift::Types::LIST, :name => 'columns', :element => {:type => ::Thrift::Types::STRING}, :optional => true},
  KEYS_ONLY => {:type => ::Thrift::Types::BOOL, :name => 'keys_only', :default => false, :optional => true},
  CELL_LIMIT => {:type => ::Thrift::Types::I32, :name => 'cell_limit', :default => 0, :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



171
# File 'lib/hypertable/gen-rb/client_types.rb', line 171

def struct_fields; FIELDS; end

#validateObject



173
174
# File 'lib/hypertable/gen-rb/client_types.rb', line 173

def validate
end