Class: Apache::Hadoop::Hbase::Thrift2::THBaseService::GetScannerRows_args
- Inherits:
-
Object
- Object
- Apache::Hadoop::Hbase::Thrift2::THBaseService::GetScannerRows_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/hbase/t_h_base_service.rb
Constant Summary collapse
- SCANNERID =
1
- NUMROWS =
2
- FIELDS =
{ # the Id of the Scanner to return rows from. This is an Id returned from the openScanner function. SCANNERID => {:type => ::Thrift::Types::I32, :name => 'scannerId'}, # number of rows to return NUMROWS => {:type => ::Thrift::Types::I32, :name => 'numRows', :default => 1} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
1035 |
# File 'lib/hbase/t_h_base_service.rb', line 1035 def struct_fields; FIELDS; end |
#validate ⇒ Object
1037 1038 1039 |
# File 'lib/hbase/t_h_base_service.rb', line 1037 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field scannerId is unset!') unless @scannerId end |