private int mapToIndex(RecordType key1, ValueType key2, int key3) { if (key3 >= intentCardinality) { return -1; } return (key1.ordinal() * valueTypeCardinality * intentCardinality) + (key2.ordinal() * intentCardinality) + key3; }
public RecordMetadataEncoder recordType(final RecordType value) { buffer.putByte(offset + 0, (byte)value.value()); return this; }
public RecordType recordType() { return RecordType.get(((short)(buffer.getByte(offset + 0) & 0xFF))); }
public RecordType recordType() { return RecordType.get(((short)(buffer.getByte(offset + 10) & 0xFF))); }
public ExecuteCommandResponseEncoder recordType(final RecordType value) { buffer.putByte(offset + 10, (byte)value.value()); return this; }
public RecordType recordType() { return RecordType.get(((short)(buffer.getByte(offset + 0) & 0xFF))); }
private int mapToIndex(RecordType key1, ValueType key2, int key3) { if (key3 >= intentCardinality) { return -1; } return (key1.ordinal() * valueTypeCardinality * intentCardinality) + (key2.ordinal() * intentCardinality) + key3; }
public RecordMetadataEncoder recordType(final RecordType value) { buffer.putByte(offset + 0, (byte)value.value()); return this; }
public RecordType recordType() { return RecordType.get(((short)(buffer.getByte(offset + 10) & 0xFF))); }
public ExecuteCommandResponseEncoder recordType(final RecordType value) { buffer.putByte(offset + 10, (byte)value.value()); return this; }