@Override public boolean visitRelationshipTypeTokenCommand(Command.RelationshipTypeTokenCommand command) throws IOException { RelationshipTypeTokenRecord record = command.getRecord(); // id+in_use(byte)+type_blockId(int)+nr_type_records(int) byte inUse = record.inUse() ? Record.IN_USE.byteValue() : Record.NOT_IN_USE.byteValue(); channel.put(NeoCommandType.REL_TYPE_COMMAND); channel.putInt(record.getId()).put(inUse).putInt(record.getNameId()); writeDynamicRecords(record.getNameRecords()); return false; }