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

Public Member Functions

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

Public Attributes

 row_set
 
 copy_params
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - row_set
 - copy_params

Definition at line 2340 of file ttypes.py.

Constructor & Destructor Documentation

def heavydb.thrift.ttypes.TDetectResult.__init__ (   self,
  row_set = None,
  copy_params = None 
)

Definition at line 2349 of file ttypes.py.

2350  def __init__(self, row_set=None, copy_params=None,):
2351  self.row_set = row_set
2352  self.copy_params = copy_params

Member Function Documentation

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

Definition at line 2403 of file ttypes.py.

2404  def __eq__(self, other):
2405  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.ttypes.TDetectResult.__ne__ (   self,
  other 
)

Definition at line 2406 of file ttypes.py.

2407  def __ne__(self, other):
2408  return not (self == other)
2409 
def heavydb.thrift.ttypes.TDetectResult.__repr__ (   self)

Definition at line 2398 of file ttypes.py.

2399  def __repr__(self):
2400  L = ['%s=%r' % (key, value)
2401  for key, value in self.__dict__.items()]
2402  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.TDetectResult.read (   self,
  iprot 
)

Definition at line 2353 of file ttypes.py.

References foreign_storage::ParseBufferRequest.copy_params, stuff.copy_params, import_export::DataStreamSink.copy_params, heavydb.thrift.ttypes.TDetectResult.copy_params, heavydb.thrift.Heavy.detect_column_types_args.copy_params, heavydb.thrift.Heavy.import_table_args.copy_params, heavydb.thrift.Heavy.import_geo_table_args.copy_params, heavydb.thrift.Heavy.get_first_geo_file_in_archive_args.copy_params, heavydb.thrift.Heavy.get_all_files_in_archive_args.copy_params, heavydb.thrift.Heavy.get_layers_in_geo_file_args.copy_params, heavydb.thrift.ttypes.TQueryResult.row_set, and heavydb.thrift.ttypes.TDetectResult.row_set.

2354  def read(self, iprot):
2355  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
2356  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
2357  return
2358  iprot.readStructBegin()
2359  while True:
2360  (fname, ftype, fid) = iprot.readFieldBegin()
2361  if ftype == TType.STOP:
2362  break
2363  if fid == 1:
2364  if ftype == TType.STRUCT:
2365  self.row_set = TRowSet()
2366  self.row_set.read(iprot)
2367  else:
2368  iprot.skip(ftype)
2369  elif fid == 2:
2370  if ftype == TType.STRUCT:
2371  self.copy_params = TCopyParams()
2372  self.copy_params.read(iprot)
2373  else:
2374  iprot.skip(ftype)
2375  else:
2376  iprot.skip(ftype)
2377  iprot.readFieldEnd()
2378  iprot.readStructEnd()
def heavydb.thrift.ttypes.TDetectResult.validate (   self)

Definition at line 2395 of file ttypes.py.

2396  def validate(self):
2397  return
def heavydb.thrift.ttypes.TDetectResult.write (   self,
  oprot 
)

Definition at line 2379 of file ttypes.py.

References foreign_storage::ParseBufferRequest.copy_params, stuff.copy_params, import_export::DataStreamSink.copy_params, heavydb.thrift.ttypes.TDetectResult.copy_params, heavydb.thrift.Heavy.detect_column_types_args.copy_params, heavydb.thrift.Heavy.import_table_args.copy_params, heavydb.thrift.Heavy.import_geo_table_args.copy_params, heavydb.thrift.Heavy.get_first_geo_file_in_archive_args.copy_params, heavydb.thrift.Heavy.get_all_files_in_archive_args.copy_params, heavydb.thrift.Heavy.get_layers_in_geo_file_args.copy_params, heavydb.thrift.ttypes.TQueryResult.row_set, and heavydb.thrift.ttypes.TDetectResult.row_set.

2380  def write(self, oprot):
2381  if oprot._fast_encode is not None and self.thrift_spec is not None:
2382  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
2383  return
2384  oprot.writeStructBegin('TDetectResult')
2385  if self.row_set is not None:
2386  oprot.writeFieldBegin('row_set', TType.STRUCT, 1)
2387  self.row_set.write(oprot)
2388  oprot.writeFieldEnd()
2389  if self.copy_params is not None:
2390  oprot.writeFieldBegin('copy_params', TType.STRUCT, 2)
2391  self.copy_params.write(oprot)
2392  oprot.writeFieldEnd()
2393  oprot.writeFieldStop()
2394  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TDetectResult.__dict__
private

Definition at line 2404 of file ttypes.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.ttypes.TDetectResult.copy_params

Definition at line 2351 of file ttypes.py.

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

heavydb.thrift.ttypes.TDetectResult.row_set

Definition at line 2350 of file ttypes.py.

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


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