Ejemplo n.º 1
0
 @Override
 public Iterator<UniquenessConstraint> constraintsGetAll(StatementState state) {
   return schemaStorage.schemaRules(
       UNIQUENESS_CONSTRAINT_TO_RULE,
       SchemaRule.Kind.UNIQUENESS_CONSTRAINT,
       Predicates.<UniquenessConstraintRule>TRUE());
 }
Ejemplo n.º 2
0
 @Override
 public Iterator<UniquenessConstraint> constraintsGetForLabel(StatementState state, long labelId) {
   return schemaStorage.schemaRules(
       UNIQUENESS_CONSTRAINT_TO_RULE,
       UniquenessConstraintRule.class,
       labelId,
       Predicates.<UniquenessConstraintRule>TRUE());
 }
 @Override
 public void rollbackAllSuspendedTransactions() {
   rollbackSuspended(Predicates.<TransactionMarker>TRUE());
 }