~ubuntu-branches/ubuntu/trusty/python-happybase/trusty

« back to all changes in this revision

Viewing changes to happybase/hbase/ttypes.py

  • Committer: Package Import Robot
  • Author(s): Thomas Goirand
  • Date: 2013-05-30 13:56:42 UTC
  • mto: (4.1.1 sid)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: package-import@ubuntu.com-20130530135642-1nop5f85m07169hk
Tags: upstream-0.6
ImportĀ upstreamĀ versionĀ 0.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#
2
 
# Autogenerated by Thrift Compiler (0.8.0)
 
2
# Autogenerated by Thrift Compiler (0.9.0)
3
3
#
4
4
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
5
#
6
 
#  options string: py
 
6
#  options string: py:new_style
7
7
#
8
8
 
9
 
from thrift.Thrift import TType, TMessageType, TException
 
9
from thrift.Thrift import TType, TMessageType, TException, TApplicationException
10
10
 
11
11
from thrift.transport import TTransport
12
12
from thrift.protocol import TBinaryProtocol, TProtocol
17
17
 
18
18
 
19
19
 
20
 
class TCell:
 
20
class TCell(object):
21
21
  """
22
22
  TCell - Used to transport a cell value (byte[]) and the timestamp it was
23
23
  stored with together as a result for get and getRow methods. This promotes
94
94
  def __ne__(self, other):
95
95
    return not (self == other)
96
96
 
97
 
class ColumnDescriptor:
 
97
class ColumnDescriptor(object):
98
98
  """
99
99
  An HColumnDescriptor contains information about a column family
100
100
  such as the number of versions, compression settings, etc. It is
254
254
  def __ne__(self, other):
255
255
    return not (self == other)
256
256
 
257
 
class TRegionInfo:
 
257
class TRegionInfo(object):
258
258
  """
259
259
  A TRegionInfo contains information about an HTable region.
260
260
 
364
364
  def __ne__(self, other):
365
365
    return not (self == other)
366
366
 
367
 
class Mutation:
 
367
class Mutation(object):
368
368
  """
369
369
  A Mutation object is used to either update or delete a column-value.
370
370
 
450
450
  def __ne__(self, other):
451
451
    return not (self == other)
452
452
 
453
 
class BatchMutation:
 
453
class BatchMutation(object):
454
454
  """
455
455
  A BatchMutation object is used to apply a number of Mutations to a single row.
456
456
 
533
533
  def __ne__(self, other):
534
534
    return not (self == other)
535
535
 
536
 
class TRowResult:
 
536
class TRowResult(object):
537
537
  """
538
538
  Holds row name and then a map of columns to cells.
539
539
 
618
618
  def __ne__(self, other):
619
619
    return not (self == other)
620
620
 
621
 
class TScan:
 
621
class TScan(object):
622
622
  """
623
623
  A Scan object is used to specify scanner parameters when opening a scanner.
624
624