Package org.hibernate.ogm.dialect.batch

Examples of org.hibernate.ogm.dialect.batch.RemoveTupleOperation


  public void removeTuple(EntityKey key, TupleContext tupleContext) {
    if ( isBatchDisabled() ) {
      dialect.removeTuple( key, tupleContext );
    }
    else {
      getOperationQueue().add( new RemoveTupleOperation( key, tupleContext ) );
    }
  }
View Full Code Here


        if ( operation instanceof UpdateTupleOperation ) {
          UpdateTupleOperation update = (UpdateTupleOperation) operation;
          executeBatchUpdate( inserts, update );
        }
        else if ( operation instanceof RemoveTupleOperation ) {
          RemoveTupleOperation tupleOp = (RemoveTupleOperation) operation;
          executeBatchRemove( inserts, tupleOp );
        }
        else if ( operation instanceof UpdateAssociationOperation ) {
          UpdateAssociationOperation update = (UpdateAssociationOperation) operation;
          updateAssociation( update.getAssociation(), update.getAssociationKey(), update.getContext() );
View Full Code Here

  public void removeTuple(EntityKey key, TupleContext tupleContext) {
    if ( isBatchDisabled() ) {
      dialect.removeTuple( key, tupleContext );
    }
    else {
      getOperationQueue().add( new RemoveTupleOperation( key, tupleContext ) );
    }
  }
View Full Code Here

        if ( operation instanceof UpdateTupleOperation ) {
          UpdateTupleOperation update = (UpdateTupleOperation) operation;
          executeBatchUpdate( inserts, update );
        }
        else if ( operation instanceof RemoveTupleOperation ) {
          RemoveTupleOperation tupleOp = (RemoveTupleOperation) operation;
          executeBatchRemove( inserts, tupleOp );
        }
        else if ( operation instanceof UpdateAssociationOperation ) {
          UpdateAssociationOperation update = (UpdateAssociationOperation) operation;
          updateAssociation( update.getAssociation(), update.getAssociationKey(), update.getContext() );
View Full Code Here

        if ( operation instanceof UpdateTupleOperation ) {
          UpdateTupleOperation update = (UpdateTupleOperation) operation;
          executeBatchUpdate( inserts, update );
        }
        else if ( operation instanceof RemoveTupleOperation ) {
          RemoveTupleOperation tupleOp = (RemoveTupleOperation) operation;
          executeBatchRemove( inserts, tupleOp );
        }
        else if ( operation instanceof UpdateAssociationOperation ) {
          UpdateAssociationOperation update = (UpdateAssociationOperation) operation;
          updateAssociation( update.getAssociation(), update.getAssociationKey(), update.getContext() );
View Full Code Here

  public void removeTuple(EntityKey key, TupleContext tupleContext) {
    if ( isBatchDisabled() ) {
      dialect.removeTuple( key, tupleContext );
    }
    else {
      getOperationQueue().add( new RemoveTupleOperation( key, tupleContext ) );
    }
  }
View Full Code Here

  public void removeTuple(EntityKey key, TupleContext tupleContext) {
    if ( isBatchDisabled() ) {
      dialect.removeTuple( key, tupleContext );
    }
    else {
      getOperationQueue().add( new RemoveTupleOperation( key, tupleContext ) );
    }
  }
View Full Code Here

        if ( operation instanceof UpdateTupleOperation ) {
          UpdateTupleOperation update = (UpdateTupleOperation) operation;
          executeBatchUpdate( inserts, update );
        }
        else if ( operation instanceof RemoveTupleOperation ) {
          RemoveTupleOperation tupleOp = (RemoveTupleOperation) operation;
          executeBatchRemove( inserts, tupleOp );
        }
        else if ( operation instanceof UpdateAssociationOperation ) {
          UpdateAssociationOperation update = (UpdateAssociationOperation) operation;
          updateAssociation( update.getAssociation(), update.getAssociationKey(), update.getContext() );
View Full Code Here

  public void removeTuple(EntityKey key, TupleContext tupleContext) {
    if ( isBatchDisabled() ) {
      dialect.removeTuple( key, tupleContext );
    }
    else {
      getOperationQueue().add( new RemoveTupleOperation( key, tupleContext ) );
    }
  }
View Full Code Here

        if ( operation instanceof UpdateTupleOperation ) {
          UpdateTupleOperation update = (UpdateTupleOperation) operation;
          executeBatchUpdate( inserts, update );
        }
        else if ( operation instanceof RemoveTupleOperation ) {
          RemoveTupleOperation tupleOp = (RemoveTupleOperation) operation;
          executeBatchRemove( inserts, tupleOp );
        }
        else if ( operation instanceof UpdateAssociationOperation ) {
          UpdateAssociationOperation update = (UpdateAssociationOperation) operation;
          updateAssociation( update.getAssociation(), update.getAssociationKey(), update.getContext() );
View Full Code Here

TOP

Related Classes of org.hibernate.ogm.dialect.batch.RemoveTupleOperation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.