Package schrodinger :: Package application :: Package licensing :: Module lmgrd_log_parser :: Class event
[hide private]
[frames] | no frames]

Class event

object --+    
         |    
     tuple --+
             |
            event

event(time, feature, tokens, user, host)

Instance Methods [hide private]
 
__getnewargs__(self)
Return self as a plain tuple.
 
__getstate__(self)
Exclude the OrderedDict from pickling
 
__repr__(self)
Return a nicely formatted representation string
 
_asdict(self)
Return a new OrderedDict which maps field names to their values
 
_replace(_self, **kwds)
Return a new event object replacing specified fields with new values

Inherited from tuple: __add__, __contains__, __eq__, __ge__, __getattribute__, __getitem__, __getslice__, __gt__, __hash__, __iter__, __le__, __len__, __lt__, __mul__, __ne__, __rmul__, count, index

Inherited from object: __delattr__, __format__, __init__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]
 
_make(cls, iterable, new=<built-in method __new__ of type object at 0x2b2197a82600>, len=<built-in function len>)
Make a new event object from a sequence or iterable
Static Methods [hide private]
a new object with type S, a subtype of T
__new__(_cls, time, feature, tokens, user, host)
Create new instance of event(time, feature, tokens, user, host)
Class Variables [hide private]
  _fields = ('time', 'feature', 'tokens', 'user', 'host')
Properties [hide private]
  feature
Alias for field number 1
  host
Alias for field number 4
  time
Alias for field number 0
  tokens
Alias for field number 2
  user
Alias for field number 3

Inherited from object: __class__

Method Details [hide private]

__getnewargs__(self)

 

Return self as a plain tuple. Used by copy and pickle.

Overrides: tuple.__getnewargs__

__new__(_cls, time, feature, tokens, user, host)
Static Method

 

Create new instance of event(time, feature, tokens, user, host)

Returns: a new object with type S, a subtype of T
Overrides: object.__new__

__repr__(self)
(Representation operator)

 

Return a nicely formatted representation string

Overrides: object.__repr__

Property Details [hide private]

feature

Alias for field number 1

Get Method:
<operator.itemgetter object at 0x2b21bd336ad0>

host

Alias for field number 4

Get Method:
<operator.itemgetter object at 0x2b21bd336b90>

time

Alias for field number 0

Get Method:
<operator.itemgetter object at 0x2b21bd336a90>

tokens

Alias for field number 2

Get Method:
<operator.itemgetter object at 0x2b21bd336b10>

user

Alias for field number 3

Get Method:
<operator.itemgetter object at 0x2b21bd336b50>