* Represents a token from a Cassandra ring where the partitioner * is ByteOrderedPartitioner. * * The raw token type is a blob (represented by Buffer or Array).
| 110 | * The raw token type is a blob (represented by Buffer or Array). |
| 111 | */ |
| 112 | class ByteOrderedToken extends Token { |
| 113 | constructor(value) { |
| 114 | super(value); |
| 115 | } |
| 116 | |
| 117 | getType() { |
| 118 | return _OrderedTokenType; |
| 119 | } |
| 120 | |
| 121 | toString() { |
| 122 | return this._value.toString('hex').toUpperCase(); |
| 123 | } |
| 124 | } |
| 125 | |
| 126 | /** |
| 127 | * Represents a range of tokens on a Cassandra ring. |
nothing calls this directly
no outgoing calls
no test coverage detected