public class BinaryBasicIdMapper extends Object implements BinaryIdMapper
Modifier and Type | Field and Description |
---|---|
static boolean |
DFLT_LOWER_CASE
Default lower case flag setting.
|
Constructor and Description |
---|
BinaryBasicIdMapper()
Default constructor.
|
BinaryBasicIdMapper(boolean isLowerCase) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
fieldId(int typeId,
String fieldName)
Get field ID.
|
int |
hashCode() |
boolean |
isLowerCase()
Gets whether to use strings in lower case or not.
|
BinaryBasicIdMapper |
setLowerCase(boolean isLowerCase)
Sets whether to use strings in lower case or not.
|
String |
toString() |
int |
typeId(String typeName)
Get type ID.
|
public static final boolean DFLT_LOWER_CASE
public BinaryBasicIdMapper()
public BinaryBasicIdMapper(boolean isLowerCase)
isLowerCase
- Whether to use strings in lower case or not.
Defaults to DFLT_LOWER_CASE
.
public int typeId(String typeName)
typeId
in interface BinaryIdMapper
typeName
- Type name.BinaryNameMapper.typeName(String)
public int fieldId(int typeId, String fieldName)
fieldId
in interface BinaryIdMapper
typeId
- Type ID.fieldName
- Field name.BinaryNameMapper.fieldName(String)
public boolean isLowerCase()
public BinaryBasicIdMapper setLowerCase(boolean isLowerCase)
isLowerCase
- Whether to use strings in lower case or not.this
for chaining.
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024