OmniSciDB  8fa3bf436f
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
omnisci.thrift.ttypes.TColumnRange Class Reference
+ Inheritance diagram for omnisci.thrift.ttypes.TColumnRange:
+ Collaboration diagram for omnisci.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
 

Private Attributes

 __dict__
 

Detailed Description

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

Definition at line 3563 of file ttypes.py.

Constructor & Destructor Documentation

def omnisci.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 
)

Definition at line 3579 of file ttypes.py.

3580  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,):
3581  self.type = type
3582  self.col_id = col_id
3583  self.table_id = table_id
3584  self.has_nulls = has_nulls
3585  self.int_min = int_min
3586  self.int_max = int_max
3587  self.bucket = bucket
3588  self.fp_min = fp_min
3589  self.fp_max = fp_max

Member Function Documentation

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

Definition at line 3701 of file ttypes.py.

3702  def __eq__(self, other):
3703  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.ttypes.TColumnRange.__ne__ (   self,
  other 
)

Definition at line 3704 of file ttypes.py.

3705  def __ne__(self, other):
3706  return not (self == other)
3707 
def omnisci.thrift.ttypes.TColumnRange.__repr__ (   self)

Definition at line 3696 of file ttypes.py.

3697  def __repr__(self):
3698  L = ['%s=%r' % (key, value)
3699  for key, value in self.__dict__.items()]
3700  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 omnisci.thrift.ttypes.TColumnRange.read (   self,
  iprot 
)

Definition at line 3590 of file ttypes.py.

References omnisci.serialized_result_set.ttypes.TResultSetBufferDescriptor.bucket, omnisci.thrift.ttypes.TColumnRange.bucket, omnisci.thrift.ttypes.TColumnType.col_id, omnisci.thrift.ttypes.TColumnRange.col_id, omnisci.thrift.ttypes.TColumnRange.fp_max, omnisci.thrift.ttypes.TColumnRange.fp_min, ChunkStats.has_nulls, StringNoneEncoder.has_nulls, DateDaysEncoder< T, V >.has_nulls, FixedLengthEncoder< T, V >.has_nulls, NoneEncoder< T >.has_nulls, FixedLengthArrayNoneEncoder.has_nulls, ArrayNoneEncoder.has_nulls, omnisci.thrift.ttypes.TColumnRange.has_nulls, omnisci.thrift.ttypes.TColumnRange.int_max, omnisci.thrift.ttypes.TColumnRange.int_min, TableMetadata.table_id, Catalog_Namespace::TableEpochInfo.table_id, Analyzer::ColumnVar.table_id, omnisci.thrift.ttypes.TPixelTableRowResult.table_id, omnisci.thrift.ttypes.TTableMeta.table_id, omnisci.thrift.ttypes.TColumnRange.table_id, omnisci.thrift.OmniSci.set_table_epoch_args.table_id, omnisci.thrift.OmniSci.get_table_epoch_args.table_id, omnisci.thrift.OmniSci.get_table_epochs_args.table_id, omnisci.thrift.OmniSci.check_table_consistency_args.table_id, omnisci.thrift.OmniSci.checkpoint_args.table_id, com.mapd.parser.extension.ddl.omnisql.OmniSqlEncoding.type, com.mapd.parser.extension.ddl.omnisql.OmniSqlDataType.type, com.omnisci.jdbc.OmniSciArray.type, com.mapd.utility.db_vendors.Db_vendor_types.GisType.type, com.omnisci.jdbc.OmniSciColumnTypeTest.Answer.type, ConverterCreateParameter.type, omnisci.completion_hints.ttypes.TCompletionHint.type, omnisci.common.ttypes.TTypeInfo.type, omnisci.serialized_result_set.ttypes.TTargetInfo.type, omnisci.serialized_result_set.ttypes.TCountDistinctSet.type, omnisci.thrift.ttypes.TColumnRange.type, and omnisci.thrift.OmniSci.get_db_object_privs_args.type.

3591  def read(self, iprot):
3592  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
3593  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
3594  return
3595  iprot.readStructBegin()
3596  while True:
3597  (fname, ftype, fid) = iprot.readFieldBegin()
3598  if ftype == TType.STOP:
3599  break
3600  if fid == 1:
3601  if ftype == TType.I32:
3602  self.type = iprot.readI32()
3603  else:
3604  iprot.skip(ftype)
3605  elif fid == 2:
3606  if ftype == TType.I32:
3607  self.col_id = iprot.readI32()
3608  else:
3609  iprot.skip(ftype)
3610  elif fid == 3:
3611  if ftype == TType.I32:
3612  self.table_id = iprot.readI32()
3613  else:
3614  iprot.skip(ftype)
3615  elif fid == 4:
3616  if ftype == TType.BOOL:
3617  self.has_nulls = iprot.readBool()
3618  else:
3619  iprot.skip(ftype)
3620  elif fid == 5:
3621  if ftype == TType.I64:
3622  self.int_min = iprot.readI64()
3623  else:
3624  iprot.skip(ftype)
3625  elif fid == 6:
3626  if ftype == TType.I64:
3627  self.int_max = iprot.readI64()
3628  else:
3629  iprot.skip(ftype)
3630  elif fid == 7:
3631  if ftype == TType.I64:
3632  self.bucket = iprot.readI64()
3633  else:
3634  iprot.skip(ftype)
3635  elif fid == 8:
3636  if ftype == TType.DOUBLE:
3637  self.fp_min = iprot.readDouble()
3638  else:
3639  iprot.skip(ftype)
3640  elif fid == 9:
3641  if ftype == TType.DOUBLE:
3642  self.fp_max = iprot.readDouble()
3643  else:
3644  iprot.skip(ftype)
3645  else:
3646  iprot.skip(ftype)
3647  iprot.readFieldEnd()
3648  iprot.readStructEnd()
def omnisci.thrift.ttypes.TColumnRange.validate (   self)

Definition at line 3693 of file ttypes.py.

3694  def validate(self):
3695  return
def omnisci.thrift.ttypes.TColumnRange.write (   self,
  oprot 
)

Definition at line 3649 of file ttypes.py.

References omnisci.serialized_result_set.ttypes.TResultSetBufferDescriptor.bucket, omnisci.thrift.ttypes.TColumnRange.bucket, omnisci.thrift.ttypes.TColumnType.col_id, omnisci.thrift.ttypes.TColumnRange.col_id, omnisci.thrift.ttypes.TColumnRange.fp_max, omnisci.thrift.ttypes.TColumnRange.fp_min, ChunkStats.has_nulls, StringNoneEncoder.has_nulls, DateDaysEncoder< T, V >.has_nulls, FixedLengthEncoder< T, V >.has_nulls, NoneEncoder< T >.has_nulls, FixedLengthArrayNoneEncoder.has_nulls, ArrayNoneEncoder.has_nulls, omnisci.thrift.ttypes.TColumnRange.has_nulls, omnisci.thrift.ttypes.TColumnRange.int_max, omnisci.thrift.ttypes.TColumnRange.int_min, TableMetadata.table_id, Catalog_Namespace::TableEpochInfo.table_id, Analyzer::ColumnVar.table_id, omnisci.thrift.ttypes.TPixelTableRowResult.table_id, omnisci.thrift.ttypes.TTableMeta.table_id, omnisci.thrift.ttypes.TColumnRange.table_id, omnisci.thrift.OmniSci.set_table_epoch_args.table_id, omnisci.thrift.OmniSci.get_table_epoch_args.table_id, omnisci.thrift.OmniSci.get_table_epochs_args.table_id, omnisci.thrift.OmniSci.check_table_consistency_args.table_id, omnisci.thrift.OmniSci.checkpoint_args.table_id, com.mapd.parser.extension.ddl.omnisql.OmniSqlEncoding.type, com.mapd.parser.extension.ddl.omnisql.OmniSqlDataType.type, com.omnisci.jdbc.OmniSciArray.type, com.mapd.utility.db_vendors.Db_vendor_types.GisType.type, com.omnisci.jdbc.OmniSciColumnTypeTest.Answer.type, ConverterCreateParameter.type, omnisci.completion_hints.ttypes.TCompletionHint.type, omnisci.common.ttypes.TTypeInfo.type, omnisci.serialized_result_set.ttypes.TTargetInfo.type, omnisci.serialized_result_set.ttypes.TCountDistinctSet.type, omnisci.thrift.ttypes.TColumnRange.type, and omnisci.thrift.OmniSci.get_db_object_privs_args.type.

3650  def write(self, oprot):
3651  if oprot._fast_encode is not None and self.thrift_spec is not None:
3652  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
3653  return
3654  oprot.writeStructBegin('TColumnRange')
3655  if self.type is not None:
3656  oprot.writeFieldBegin('type', TType.I32, 1)
3657  oprot.writeI32(self.type)
3658  oprot.writeFieldEnd()
3659  if self.col_id is not None:
3660  oprot.writeFieldBegin('col_id', TType.I32, 2)
3661  oprot.writeI32(self.col_id)
3662  oprot.writeFieldEnd()
3663  if self.table_id is not None:
3664  oprot.writeFieldBegin('table_id', TType.I32, 3)
3665  oprot.writeI32(self.table_id)
3666  oprot.writeFieldEnd()
3667  if self.has_nulls is not None:
3668  oprot.writeFieldBegin('has_nulls', TType.BOOL, 4)
3669  oprot.writeBool(self.has_nulls)
3670  oprot.writeFieldEnd()
3671  if self.int_min is not None:
3672  oprot.writeFieldBegin('int_min', TType.I64, 5)
3673  oprot.writeI64(self.int_min)
3674  oprot.writeFieldEnd()
3675  if self.int_max is not None:
3676  oprot.writeFieldBegin('int_max', TType.I64, 6)
3677  oprot.writeI64(self.int_max)
3678  oprot.writeFieldEnd()
3679  if self.bucket is not None:
3680  oprot.writeFieldBegin('bucket', TType.I64, 7)
3681  oprot.writeI64(self.bucket)
3682  oprot.writeFieldEnd()
3683  if self.fp_min is not None:
3684  oprot.writeFieldBegin('fp_min', TType.DOUBLE, 8)
3685  oprot.writeDouble(self.fp_min)
3686  oprot.writeFieldEnd()
3687  if self.fp_max is not None:
3688  oprot.writeFieldBegin('fp_max', TType.DOUBLE, 9)
3689  oprot.writeDouble(self.fp_max)
3690  oprot.writeFieldEnd()
3691  oprot.writeFieldStop()
3692  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TColumnRange.__dict__
private

Definition at line 3702 of file ttypes.py.

omnisci.thrift.ttypes.TColumnRange.bucket

Definition at line 3586 of file ttypes.py.

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

omnisci.thrift.ttypes.TColumnRange.col_id

Definition at line 3581 of file ttypes.py.

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

omnisci.thrift.ttypes.TColumnRange.fp_max

Definition at line 3588 of file ttypes.py.

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

omnisci.thrift.ttypes.TColumnRange.fp_min

Definition at line 3587 of file ttypes.py.

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

omnisci.thrift.ttypes.TColumnRange.has_nulls

Definition at line 3583 of file ttypes.py.

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

omnisci.thrift.ttypes.TColumnRange.int_max

Definition at line 3585 of file ttypes.py.

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

omnisci.thrift.ttypes.TColumnRange.int_min

Definition at line 3584 of file ttypes.py.

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

omnisci.thrift.ttypes.TColumnRange.table_id

Definition at line 3582 of file ttypes.py.

Referenced by omnisci.thrift.ttypes.TColumnRange.read(), omnisci.thrift.ttypes.TTableGeneration.read(), omnisci.thrift.ttypes.TInsertData.read(), omnisci.thrift.ttypes.TTableEpochInfo.read(), omnisci.thrift.ttypes.TColumnRange.write(), omnisci.thrift.ttypes.TTableGeneration.write(), omnisci.thrift.ttypes.TInsertData.write(), and omnisci.thrift.ttypes.TTableEpochInfo.write().

omnisci.thrift.ttypes.TColumnRange.type

Definition at line 3580 of file ttypes.py.

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


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