Method: Impala::Protocol::TCaseExpr#validate
- Defined in:
- lib/impala/protocol/exprs_types.rb
#validate ⇒ Object
105 106 107 108 |
# File 'lib/impala/protocol/exprs_types.rb', line 105 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field has_case_expr is unset!') if @has_case_expr.nil? raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field has_else_expr is unset!') if @has_else_expr.nil? end |