public static ConstraintRule constraintRule( long id, ConstraintDescriptor descriptor, String name ) { return new ConstraintRule( id, descriptor, null, name ); }
public static ConstraintRule constraintRule( long id, IndexBackedConstraintDescriptor descriptor, long ownedIndexRule, String name ) { return new ConstraintRule( id, descriptor, ownedIndexRule, name ); }
public static ConstraintRule constraintRule( long id, ConstraintDescriptor descriptor ) { return new ConstraintRule( id, descriptor, null ); }
public static ConstraintRule constraintRule( long id, IndexBackedConstraintDescriptor descriptor, long ownedIndexRule ) { return new ConstraintRule( id, descriptor, ownedIndexRule ); }
public static ConstraintRule readRelPropertyExistenceConstraintRule( long id, int relTypeId, ByteBuffer buffer ) { return new ConstraintRule( id, ConstraintDescriptorFactory.existsForRelType( relTypeId, readPropertyKey( buffer ) ), NO_OWNED_INDEX_RULE ); }
public static ConstraintRule readNodePropertyExistenceConstraintRule( long id, int labelId, ByteBuffer buffer ) { return new ConstraintRule( id, ConstraintDescriptorFactory.existsForLabel( labelId, readPropertyKey( buffer ) ), NO_OWNED_INDEX_RULE ); }
public static ConstraintRule readUniquenessConstraintRule( long id, int labelId, ByteBuffer buffer ) { return new ConstraintRule( id, ConstraintDescriptorFactory.uniqueForLabel( labelId, readConstraintPropertyKeys( buffer ) ), readOwnedIndexRule( buffer ) ); }
public static ConstraintRule constraintRule( long id, ConstraintDescriptor descriptor ) { return new ConstraintRule( id, descriptor, null ); }
public static ConstraintRule constraintRule( long id, ConstraintDescriptor descriptor, String name ) { return new ConstraintRule( id, descriptor, null, name ); }
public static ConstraintRule constraintRule( long id, IndexBackedConstraintDescriptor descriptor, long ownedIndexRule, String name ) { return new ConstraintRule( id, descriptor, ownedIndexRule, name ); }
public static ConstraintRule constraintRule( long id, IndexBackedConstraintDescriptor descriptor, long ownedIndexRule ) { return new ConstraintRule( id, descriptor, ownedIndexRule ); }
public static ConstraintRule readRelPropertyExistenceConstraintRule( long id, int relTypeId, ByteBuffer buffer ) { return new ConstraintRule( id, ConstraintDescriptorFactory.existsForRelType( relTypeId, readPropertyKey( buffer ) ), NO_OWNED_INDEX_RULE ); }
public static ConstraintRule readNodePropertyExistenceConstraintRule( long id, int labelId, ByteBuffer buffer ) { return new ConstraintRule( id, ConstraintDescriptorFactory.existsForLabel( labelId, readPropertyKey( buffer ) ), NO_OWNED_INDEX_RULE ); }
public static ConstraintRule readUniquenessConstraintRule( long id, int labelId, ByteBuffer buffer ) { return new ConstraintRule( id, ConstraintDescriptorFactory.uniqueForLabel( labelId, readConstraintPropertyKeys( buffer ) ), readOwnedIndexRule( buffer ) ); }