use of org.neo4j.kernel.impl.index.IndexCommand.RemoveCommand in project neo4j by neo4j.
the class PhysicalLogCommandReaderV2_2_10 method visitIndexRemoveCommand.
private Command visitIndexRemoveCommand(ReadableChannel channel) throws IOException {
IndexCommandHeader header = readIndexCommandHeader(channel);
Number entityId = header.entityIdNeedsLong ? channel.getLong() : channel.getInt();
Object value = readIndexValue(header.valueType, channel);
RemoveCommand command = new RemoveCommand();
command.init(header.indexNameId, header.entityType, entityId.longValue(), header.keyId, value);
return command;
}
use of org.neo4j.kernel.impl.index.IndexCommand.RemoveCommand in project neo4j by neo4j.
the class PhysicalLogCommandReaderV3_0_2 method visitIndexRemoveCommand.
private Command visitIndexRemoveCommand(ReadableChannel channel) throws IOException {
IndexCommandHeader header = readIndexCommandHeader(channel);
Number entityId = header.entityIdNeedsLong ? channel.getLong() : channel.getInt();
Object value = readIndexValue(header.valueType, channel);
RemoveCommand command = new RemoveCommand();
command.init(header.indexNameId, header.entityType, entityId.longValue(), header.keyId, value);
return command;
}
use of org.neo4j.kernel.impl.index.IndexCommand.RemoveCommand in project neo4j by neo4j.
the class PhysicalLogCommandReaderV3_0 method visitIndexRemoveCommand.
private Command visitIndexRemoveCommand(ReadableChannel channel) throws IOException {
IndexCommandHeader header = readIndexCommandHeader(channel);
Number entityId = header.entityIdNeedsLong ? channel.getLong() : channel.getInt();
Object value = readIndexValue(header.valueType, channel);
RemoveCommand command = new RemoveCommand();
command.init(header.indexNameId, header.entityType, entityId.longValue(), header.keyId, value);
return command;
}
Aggregations