mirror of https://github.com/apache/cassandra
most importantly: formats output from queries according to column storage type, so that e.g. blob data is shown in hex. also formats timestamp values in a human-readable and cql-readable way, and shows backslash escapes for text/ascii types when characters can't be printed. when color is enabled, highlight backslash escapes in red, so they can easily be distinguished from text that happens to contain backslashes. color different types of column data differently: textual data stays yellow, blob data is red, and other data (types which are shown and input significantly differently from the byte representation, like numbers, timestamps, etc) are green. for static resultsets, add a separator line between header and data (most helpful for people who don't have colors on). left-justify column headers instead of right-justifying. for dynamic resultsets, don't append a final bar separator after the last value. allow calling into a value renderer/formatter which can make decisions about output representation and color based on the column type patch by pcannon; reviewed by jbellis for CASSANDRA-3726 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| cqlhandling.py | ||
| pylexotron.py | ||
| saferscanner.py | ||
| wcwidth.py | ||