Search in sources :

Example 1 with PropertyKeyTokenCommand

use of org.neo4j.internal.recordstorage.Command.PropertyKeyTokenCommand in project neo4j by neo4j.

the class Commands method createPropertyKeyToken.

public static PropertyKeyTokenCommand createPropertyKeyToken(int id, int nameId) {
    PropertyKeyTokenRecord before = new PropertyKeyTokenRecord(id);
    PropertyKeyTokenRecord after = new PropertyKeyTokenRecord(id);
    populateTokenRecord(after, nameId);
    return new PropertyKeyTokenCommand(before, after);
}
Also used : PropertyKeyTokenRecord(org.neo4j.kernel.impl.store.record.PropertyKeyTokenRecord) PropertyKeyTokenCommand(org.neo4j.internal.recordstorage.Command.PropertyKeyTokenCommand)

Aggregations

PropertyKeyTokenCommand (org.neo4j.internal.recordstorage.Command.PropertyKeyTokenCommand)1 PropertyKeyTokenRecord (org.neo4j.kernel.impl.store.record.PropertyKeyTokenRecord)1