MCPcopy Create free account
hub / github.com/apache/cassandra-python-driver / Segment

Class Segment

cassandra/segment.py:82–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80
81
82class Segment(object):
83
84 MAX_PAYLOAD_LENGTH = 128 * 1024 - 1
85
86 payload = None
87 is_self_contained = None
88
89 def __init__(self, payload, is_self_contained):
90 self.payload = payload
91 self.is_self_contained = is_self_contained
92
93
94class SegmentCodec(object):

Callers 1

decodeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected