class Impala::Protocol::TFunction
Constants
- AGGREGATE_FN
- ARG_TYPES
- BINARY_TYPE
- COMMENT
- FIELDS
- HAS_VAR_ARGS
- HDFS_LOCATION
- IS_PERSISTENT
- NAME
- RET_TYPE
- SCALAR_FN
- SIGNATURE
Public Instance Methods
struct_fields()
click to toggle source
# File lib/impala/protocol/types_types.rb 315 def struct_fields; FIELDS; end
validate()
click to toggle source
# File lib/impala/protocol/types_types.rb 317 def validate 318 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field name is unset!') unless @name 319 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field binary_type is unset!') unless @binary_type 320 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field arg_types is unset!') unless @arg_types 321 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field ret_type is unset!') unless @ret_type 322 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field has_var_args is unset!') if @has_var_args.nil? 323 unless @binary_type.nil? || ::Impala::Protocol::TFunctionBinaryType::VALID_VALUES.include?(@binary_type) 324 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field binary_type!') 325 end 326 end