public interface BatchType
The only reason to model this as an interface (as opposed to an enum type) is to accommodate
for custom protocol extensions. If you're connecting to a standard Apache Cassandra cluster, all
BatchType
s are DefaultBatchType
instances.
Modifier and Type | Field and Description |
---|---|
static BatchType |
COUNTER |
static BatchType |
LOGGED |
static BatchType |
UNLOGGED |
Modifier and Type | Method and Description |
---|---|
byte |
getProtocolCode()
The numerical value that the batch type is encoded to.
|
Copyright © 2017–2020. All rights reserved.