public class StoreAsBinaryConfiguration
extends java.lang.Object
StoreAsBinaryConfigurationBuilder
Modifier and Type | Field and Description |
---|---|
private boolean |
enabled |
private boolean |
storeKeysAsBinary |
private boolean |
storeValuesAsBinary |
Constructor and Description |
---|
StoreAsBinaryConfiguration(boolean enabled,
boolean storeKeysAsBinary,
boolean storeValuesAsBinary) |
Modifier and Type | Method and Description |
---|---|
boolean |
defensive()
Deprecated.
Store as binary configuration is always defensive now.
|
boolean |
enabled()
Enables storing both keys and values as binary.
|
StoreAsBinaryConfiguration |
enabled(boolean enabled) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
boolean |
storeKeysAsBinary()
Enables storing keys as binary.
|
boolean |
storeValuesAsBinary()
Enables storing values as binary.
|
java.lang.String |
toString() |
private boolean enabled
private final boolean storeKeysAsBinary
private final boolean storeValuesAsBinary
StoreAsBinaryConfiguration(boolean enabled, boolean storeKeysAsBinary, boolean storeValuesAsBinary)
public boolean enabled()
public StoreAsBinaryConfiguration enabled(boolean enabled)
public boolean storeKeysAsBinary()
public boolean storeValuesAsBinary()
@Deprecated public boolean defensive()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object