MCPcopy Index your code
hub / github.com/apache/cassandra-python-driver / write_value

Function write_value

cassandra/protocol.py:1454–1461  ·  view source on GitHub ↗
(f, v)

Source from the content-addressed store, hash-verified

1452
1453
1454def write_value(f, v):
1455 if v is None:
1456 write_int(f, -1)
1457 elif v is _UNSET_VALUE:
1458 write_int(f, -2)
1459 else:
1460 write_int(f, len(v))
1461 f.write(v)
1462
1463
1464def read_inet_addr_only(f):

Callers 4

_write_query_paramsMethod · 0.85
_write_query_paramsMethod · 0.85
send_bodyMethod · 0.85
write_bytesmapFunction · 0.85

Calls 1

write_intFunction · 0.85

Tested by

no test coverage detected