Class: Hexspace::TGetSchemasReq
- Inherits:
-
Object
- Object
- Hexspace::TGetSchemasReq
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/hexspace/tcli_service_types.rb,
lib/hexspace/tcli_service_types.rb
Constant Summary collapse
- SESSIONHANDLE =
1
- CATALOGNAME =
2
- SCHEMANAME =
3
- FIELDS =
{ SESSIONHANDLE => {:type => ::Thrift::Types::STRUCT, :name => 'sessionHandle', :class => ::Hexspace::TSessionHandle}, CATALOGNAME => {:type => ::Thrift::Types::STRING, :name => 'catalogName', :optional => true}, SCHEMANAME => {:type => ::Thrift::Types::STRING, :name => 'schemaName', :optional => true} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
1430 |
# File 'lib/hexspace/tcli_service_types.rb', line 1430 def struct_fields; FIELDS; end |
#validate ⇒ Object
1432 1433 1434 |
# File 'lib/hexspace/tcli_service_types.rb', line 1432 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field sessionHandle is unset!') unless @sessionHandle end |