OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
heavydb.thrift.ttypes.TColumnRange Class Reference
+ Inheritance diagram for heavydb.thrift.ttypes.TColumnRange:
+ Collaboration diagram for heavydb.thrift.ttypes.TColumnRange:

Public Member Functions

def __init__
 
def read
 
def write
 
def validate
 
def __repr__
 
def __eq__
 
def __ne__
 

Public Attributes

 type
 
 col_id
 
 table_id
 
 has_nulls
 
 int_min
 
 int_max
 
 bucket
 
 fp_min
 
 fp_max
 
 db_id
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - type
 - col_id
 - table_id
 - has_nulls
 - int_min
 - int_max
 - bucket
 - fp_min
 - fp_max
 - db_id

Definition at line 4091 of file ttypes.py.

Constructor & Destructor Documentation

def heavydb.thrift.ttypes.TColumnRange.__init__ (   self,
  type = None,
  col_id = None,
  table_id = None,
  has_nulls = None,
  int_min = None,
  int_max = None,
  bucket = None,
  fp_min = None,
  fp_max = None,
  db_id = None 
)

Definition at line 4108 of file ttypes.py.

4109  def __init__(self, type=None, col_id=None, table_id=None, has_nulls=None, int_min=None, int_max=None, bucket=None, fp_min=None, fp_max=None, db_id=None,):
4110  self.type = type
4111  self.col_id = col_id
4112  self.table_id = table_id
4113  self.has_nulls = has_nulls
4114  self.int_min = int_min
4115  self.int_max = int_max
4116  self.bucket = bucket
4117  self.fp_min = fp_min
4118  self.fp_max = fp_max
4119  self.db_id = db_id

Member Function Documentation

def heavydb.thrift.ttypes.TColumnRange.__eq__ (   self,
  other 
)

Definition at line 4240 of file ttypes.py.

4241  def __eq__(self, other):
4242  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.ttypes.TColumnRange.__ne__ (   self,
  other 
)

Definition at line 4243 of file ttypes.py.

4244  def __ne__(self, other):
4245  return not (self == other)
4246 
def heavydb.thrift.ttypes.TColumnRange.__repr__ (   self)

Definition at line 4235 of file ttypes.py.

4236  def __repr__(self):
4237  L = ['%s=%r' % (key, value)
4238  for key, value in self.__dict__.items()]
4239  return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
std::string join(T const &container, std::string const &delim)

+ Here is the call graph for this function:

def heavydb.thrift.ttypes.TColumnRange.read (   self,
  iprot 
)

Definition at line 4120 of file ttypes.py.

References heavydb.serialized_result_set.ttypes.TResultSetBufferDescriptor.bucket, heavydb.thrift.ttypes.TColumnRange.bucket, heavydb.thrift.ttypes.TColumnType.col_id, heavydb.thrift.ttypes.TColumnRange.col_id, data_conversion::ConversionFactoryParam.db_id, ColumnDescriptor.db_id, Fragmenter_Namespace::InsertChunks.db_id, foreign_storage::ParseBufferRequest.db_id, heavydb.common.ttypes.TStringDictKey.db_id, heavydb.thrift.ttypes.TColumnRange.db_id, heavydb.thrift.Heavy.set_table_epoch_args.db_id, heavydb.thrift.Heavy.get_table_epoch_args.db_id, heavydb.thrift.Heavy.get_table_epochs_args.db_id, heavydb.thrift.Heavy.set_table_epochs_args.db_id, heavydb.thrift.ttypes.TColumnRange.fp_max, heavydb.thrift.ttypes.TColumnRange.fp_min, ChunkStats.has_nulls, StringNoneEncoder.has_nulls, DateDaysEncoder< T, V >.has_nulls, NoneEncoder< T >.has_nulls, FixedLengthEncoder< T, V >.has_nulls, FixedLengthArrayNoneEncoder.has_nulls, ArrayNoneEncoder.has_nulls, heavydb.thrift.ttypes.TColumnRange.has_nulls, heavydb.thrift.ttypes.TColumnRange.int_max, heavydb.thrift.ttypes.TColumnRange.int_min, TableMetadata.table_id, foreign_storage::StorageDetails.table_id, Fragmenter_Namespace::InsertChunks.table_id, Catalog_Namespace::TableEpochInfo.table_id, heavydb.thrift.ttypes.TPixelTableRowResult.table_id, heavydb.thrift.ttypes.TTableMeta.table_id, heavydb.thrift.ttypes.TColumnRange.table_id, heavydb.thrift.Heavy.set_table_epoch_args.table_id, heavydb.thrift.Heavy.get_table_epoch_args.table_id, heavydb.thrift.Heavy.get_table_epochs_args.table_id, heavydb.thrift.Heavy.check_table_consistency_args.table_id, heavydb.thrift.Heavy.checkpoint_args.table_id, com.mapd.parser.extension.ddl.heavysql.HeavySqlEncoding.type, com.mapd.parser.extension.ddl.heavysql.HeavySqlDataType.type, ai.heavy.jdbc.HeavyAIArray.type, com.mapd.parser.extension.ddl.SqlValidateSystem.type, com.mapd.utility.db_vendors.Db_vendor_types.GisType.type, ai.heavy.jdbc.HeavyAIColumnTypeTest.Answer.type, com.mapd.parser.extension.ddl.SqlGrantPrivilege.type, com.mapd.parser.extension.ddl.SqlRevokePrivilege.type, ConverterCreateParameter.type, foreign_storage::UserMapping.type, heavydb.completion_hints.ttypes.TCompletionHint.type, heavydb.common.ttypes.TTypeInfo.type, heavydb.serialized_result_set.ttypes.TTargetInfo.type, heavydb.serialized_result_set.ttypes.TCountDistinctSet.type, heavydb.thrift.ttypes.TColumnRange.type, and heavydb.thrift.Heavy.get_db_object_privs_args.type.

4121  def read(self, iprot):
4122  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
4123  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
4124  return
4125  iprot.readStructBegin()
4126  while True:
4127  (fname, ftype, fid) = iprot.readFieldBegin()
4128  if ftype == TType.STOP:
4129  break
4130  if fid == 1:
4131  if ftype == TType.I32:
4132  self.type = iprot.readI32()
4133  else:
4134  iprot.skip(ftype)
4135  elif fid == 2:
4136  if ftype == TType.I32:
4137  self.col_id = iprot.readI32()
4138  else:
4139  iprot.skip(ftype)
4140  elif fid == 3:
4141  if ftype == TType.I32:
4142  self.table_id = iprot.readI32()
4143  else:
4144  iprot.skip(ftype)
4145  elif fid == 4:
4146  if ftype == TType.BOOL:
4147  self.has_nulls = iprot.readBool()
4148  else:
4149  iprot.skip(ftype)
4150  elif fid == 5:
4151  if ftype == TType.I64:
4152  self.int_min = iprot.readI64()
4153  else:
4154  iprot.skip(ftype)
4155  elif fid == 6:
4156  if ftype == TType.I64:
4157  self.int_max = iprot.readI64()
4158  else:
4159  iprot.skip(ftype)
4160  elif fid == 7:
4161  if ftype == TType.I64:
4162  self.bucket = iprot.readI64()
4163  else:
4164  iprot.skip(ftype)
4165  elif fid == 8:
4166  if ftype == TType.DOUBLE:
4167  self.fp_min = iprot.readDouble()
4168  else:
4169  iprot.skip(ftype)
4170  elif fid == 9:
4171  if ftype == TType.DOUBLE:
4172  self.fp_max = iprot.readDouble()
4173  else:
4174  iprot.skip(ftype)
4175  elif fid == 10:
4176  if ftype == TType.I32:
4177  self.db_id = iprot.readI32()
4178  else:
4179  iprot.skip(ftype)
4180  else:
4181  iprot.skip(ftype)
4182  iprot.readFieldEnd()
4183  iprot.readStructEnd()
def heavydb.thrift.ttypes.TColumnRange.validate (   self)

Definition at line 4232 of file ttypes.py.

4233  def validate(self):
4234  return
def heavydb.thrift.ttypes.TColumnRange.write (   self,
  oprot 
)

Definition at line 4184 of file ttypes.py.

References heavydb.serialized_result_set.ttypes.TResultSetBufferDescriptor.bucket, heavydb.thrift.ttypes.TColumnRange.bucket, heavydb.thrift.ttypes.TColumnType.col_id, heavydb.thrift.ttypes.TColumnRange.col_id, data_conversion::ConversionFactoryParam.db_id, ColumnDescriptor.db_id, Fragmenter_Namespace::InsertChunks.db_id, foreign_storage::ParseBufferRequest.db_id, heavydb.common.ttypes.TStringDictKey.db_id, heavydb.thrift.ttypes.TColumnRange.db_id, heavydb.thrift.Heavy.set_table_epoch_args.db_id, heavydb.thrift.Heavy.get_table_epoch_args.db_id, heavydb.thrift.Heavy.get_table_epochs_args.db_id, heavydb.thrift.Heavy.set_table_epochs_args.db_id, heavydb.thrift.ttypes.TColumnRange.fp_max, heavydb.thrift.ttypes.TColumnRange.fp_min, ChunkStats.has_nulls, StringNoneEncoder.has_nulls, DateDaysEncoder< T, V >.has_nulls, NoneEncoder< T >.has_nulls, FixedLengthEncoder< T, V >.has_nulls, FixedLengthArrayNoneEncoder.has_nulls, ArrayNoneEncoder.has_nulls, heavydb.thrift.ttypes.TColumnRange.has_nulls, heavydb.thrift.ttypes.TColumnRange.int_max, heavydb.thrift.ttypes.TColumnRange.int_min, TableMetadata.table_id, foreign_storage::StorageDetails.table_id, Fragmenter_Namespace::InsertChunks.table_id, Catalog_Namespace::TableEpochInfo.table_id, heavydb.thrift.ttypes.TPixelTableRowResult.table_id, heavydb.thrift.ttypes.TTableMeta.table_id, heavydb.thrift.ttypes.TColumnRange.table_id, heavydb.thrift.Heavy.set_table_epoch_args.table_id, heavydb.thrift.Heavy.get_table_epoch_args.table_id, heavydb.thrift.Heavy.get_table_epochs_args.table_id, heavydb.thrift.Heavy.check_table_consistency_args.table_id, heavydb.thrift.Heavy.checkpoint_args.table_id, com.mapd.parser.extension.ddl.heavysql.HeavySqlEncoding.type, com.mapd.parser.extension.ddl.heavysql.HeavySqlDataType.type, ai.heavy.jdbc.HeavyAIArray.type, com.mapd.parser.extension.ddl.SqlValidateSystem.type, com.mapd.utility.db_vendors.Db_vendor_types.GisType.type, ai.heavy.jdbc.HeavyAIColumnTypeTest.Answer.type, com.mapd.parser.extension.ddl.SqlGrantPrivilege.type, com.mapd.parser.extension.ddl.SqlRevokePrivilege.type, ConverterCreateParameter.type, foreign_storage::UserMapping.type, heavydb.completion_hints.ttypes.TCompletionHint.type, heavydb.common.ttypes.TTypeInfo.type, heavydb.serialized_result_set.ttypes.TTargetInfo.type, heavydb.serialized_result_set.ttypes.TCountDistinctSet.type, heavydb.thrift.ttypes.TColumnRange.type, and heavydb.thrift.Heavy.get_db_object_privs_args.type.

4185  def write(self, oprot):
4186  if oprot._fast_encode is not None and self.thrift_spec is not None:
4187  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
4188  return
4189  oprot.writeStructBegin('TColumnRange')
4190  if self.type is not None:
4191  oprot.writeFieldBegin('type', TType.I32, 1)
4192  oprot.writeI32(self.type)
4193  oprot.writeFieldEnd()
4194  if self.col_id is not None:
4195  oprot.writeFieldBegin('col_id', TType.I32, 2)
4196  oprot.writeI32(self.col_id)
4197  oprot.writeFieldEnd()
4198  if self.table_id is not None:
4199  oprot.writeFieldBegin('table_id', TType.I32, 3)
4200  oprot.writeI32(self.table_id)
4201  oprot.writeFieldEnd()
4202  if self.has_nulls is not None:
4203  oprot.writeFieldBegin('has_nulls', TType.BOOL, 4)
4204  oprot.writeBool(self.has_nulls)
4205  oprot.writeFieldEnd()
4206  if self.int_min is not None:
4207  oprot.writeFieldBegin('int_min', TType.I64, 5)
4208  oprot.writeI64(self.int_min)
4209  oprot.writeFieldEnd()
4210  if self.int_max is not None:
4211  oprot.writeFieldBegin('int_max', TType.I64, 6)
4212  oprot.writeI64(self.int_max)
4213  oprot.writeFieldEnd()
4214  if self.bucket is not None:
4215  oprot.writeFieldBegin('bucket', TType.I64, 7)
4216  oprot.writeI64(self.bucket)
4217  oprot.writeFieldEnd()
4218  if self.fp_min is not None:
4219  oprot.writeFieldBegin('fp_min', TType.DOUBLE, 8)
4220  oprot.writeDouble(self.fp_min)
4221  oprot.writeFieldEnd()
4222  if self.fp_max is not None:
4223  oprot.writeFieldBegin('fp_max', TType.DOUBLE, 9)
4224  oprot.writeDouble(self.fp_max)
4225  oprot.writeFieldEnd()
4226  if self.db_id is not None:
4227  oprot.writeFieldBegin('db_id', TType.I32, 10)
4228  oprot.writeI32(self.db_id)
4229  oprot.writeFieldEnd()
4230  oprot.writeFieldStop()
4231  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TColumnRange.__dict__
private

Definition at line 4241 of file ttypes.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.ttypes.TColumnRange.bucket

Definition at line 4115 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TColumnRange.read(), and heavydb.thrift.ttypes.TColumnRange.write().

heavydb.thrift.ttypes.TColumnRange.col_id

Definition at line 4110 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TColumnRange.read(), and heavydb.thrift.ttypes.TColumnRange.write().

heavydb.thrift.ttypes.TColumnRange.db_id

Definition at line 4118 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TColumnRange.read(), heavydb.thrift.ttypes.TDictionaryGeneration.read(), heavydb.thrift.ttypes.TTableGeneration.read(), heavydb.thrift.ttypes.TTableCacheStatus.read(), heavydb.thrift.ttypes.TInsertData.read(), heavydb.thrift.ttypes.TInsertChunks.read(), heavydb.thrift.ttypes.TColumnRange.write(), heavydb.thrift.ttypes.TDictionaryGeneration.write(), heavydb.thrift.ttypes.TTableGeneration.write(), heavydb.thrift.ttypes.TTableCacheStatus.write(), heavydb.thrift.ttypes.TInsertData.write(), and heavydb.thrift.ttypes.TInsertChunks.write().

heavydb.thrift.ttypes.TColumnRange.fp_max

Definition at line 4117 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TColumnRange.read(), and heavydb.thrift.ttypes.TColumnRange.write().

heavydb.thrift.ttypes.TColumnRange.fp_min

Definition at line 4116 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TColumnRange.read(), and heavydb.thrift.ttypes.TColumnRange.write().

heavydb.thrift.ttypes.TColumnRange.has_nulls

Definition at line 4112 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TColumnRange.read(), and heavydb.thrift.ttypes.TColumnRange.write().

heavydb.thrift.ttypes.TColumnRange.int_max

Definition at line 4114 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TColumnRange.read(), and heavydb.thrift.ttypes.TColumnRange.write().

heavydb.thrift.ttypes.TColumnRange.int_min

Definition at line 4113 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TColumnRange.read(), and heavydb.thrift.ttypes.TColumnRange.write().

heavydb.thrift.ttypes.TColumnRange.table_id

Definition at line 4111 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TColumnRange.read(), heavydb.thrift.ttypes.TTableGeneration.read(), heavydb.thrift.ttypes.TTableCacheStatus.read(), heavydb.thrift.ttypes.TInsertData.read(), heavydb.thrift.ttypes.TInsertChunks.read(), heavydb.thrift.ttypes.TTableEpochInfo.read(), heavydb.thrift.ttypes.TColumnRange.write(), heavydb.thrift.ttypes.TTableGeneration.write(), heavydb.thrift.ttypes.TTableCacheStatus.write(), heavydb.thrift.ttypes.TInsertData.write(), heavydb.thrift.ttypes.TInsertChunks.write(), and heavydb.thrift.ttypes.TTableEpochInfo.write().

heavydb.thrift.ttypes.TColumnRange.type

Definition at line 4109 of file ttypes.py.

Referenced by TableFunctionsFactory_node.PrimitiveNode.__eq__(), TableFunctionsFactory_declbracket.Declaration.__getattr__(), TableFunctionsFactory_node.ArgNode.__iter__(), TableFunctionsFactory_declbracket.Declaration.__repr__(), TableFunctionsFactory_declbracket.Declaration.__str__(), TableFunctionsFactory_parser.Token.__str__(), TableFunctionsFactory_node.TypeNode.is_array_text_encoding_dict(), TableFunctionsFactory_node.TypeNode.is_column(), TableFunctionsFactory_node.TypeNode.is_column_list(), TableFunctionsFactory_node.TypeNode.is_cursor(), TableFunctionsFactory_node.TypeNode.is_output_buffer_sizer(), TableFunctionsFactory_node.TypeNode.is_string_scalar(), TableFunctionsFactory_node.TypeNode.is_text_encoding_dict(), heavydb.thrift.ttypes.TColumnRange.read(), heavydb.thrift.ttypes.TRenderDatum.read(), heavydb.thrift.ttypes.TColumnRange.write(), and heavydb.thrift.ttypes.TRenderDatum.write().


The documentation for this class was generated from the following file: