/** * Create a StoreIndexDescriptor, which represent the commit version of this index, that is owned * by a uniqueness constraint. * * @param id id of the committed index * @param owningConstraintId id of the uniqueness constraint owning this index * @return a StoreIndexDescriptor */ public StoreIndexDescriptor withIds( long id, long owningConstraintId ) { assertValidId( id, "id" ); assertValidId( owningConstraintId, "owning constraint id" ); return new StoreIndexDescriptor( this, id, owningConstraintId ); }
/** * Create a StoreIndexDescriptor, which represent the commit version of this index. * * @param id the index id of the committed index * @return a StoreIndexDescriptor */ public StoreIndexDescriptor withId( long id ) { assertValidId( id, "id" ); return new StoreIndexDescriptor( this, id ); }
/** * Create a StoreIndexDescriptor, which represent the commit version of this index, that is owned * by a uniqueness constraint. * * @param id id of the committed index * @param owningConstraintId id of the uniqueness constraint owning this index * @return a StoreIndexDescriptor */ public StoreIndexDescriptor withIds( long id, long owningConstraintId ) { assertValidId( id, "id" ); assertValidId( owningConstraintId, "owning constraint id" ); return new StoreIndexDescriptor( this, id, owningConstraintId ); }
/** * Create a StoreIndexDescriptor, which represent the commit version of this index. * * @param id the index id of the committed index * @return a StoreIndexDescriptor */ public StoreIndexDescriptor withId( long id ) { assertValidId( id, "id" ); return new StoreIndexDescriptor( this, id ); }