Class: Hexspace::TBinaryColumn
- Inherits:
-
Object
- Object
- Hexspace::TBinaryColumn
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/hexspace/tcli_service_types.rb,
lib/hexspace/tcli_service_types.rb
Constant Summary collapse
- VALUES =
1
- NULLS =
2
- FIELDS =
{ VALUES => {:type => ::Thrift::Types::LIST, :name => 'values', :element => {:type => ::Thrift::Types::STRING, :binary => true}}, NULLS => {:type => ::Thrift::Types::STRING, :name => 'nulls', :binary => true} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
924 |
# File 'lib/hexspace/tcli_service_types.rb', line 924 def struct_fields; FIELDS; end |
#validate ⇒ Object
926 927 928 929 |
# File 'lib/hexspace/tcli_service_types.rb', line 926 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field values is unset!') unless @values raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field nulls is unset!') unless @nulls end |