Package org.hibernate.ogm.datastore.neo4j.dialect.impl

Examples of org.hibernate.ogm.datastore.neo4j.dialect.impl.Neo4jTupleSnapshot


    GraphLogger.log( "Created node: %1$s", node );
    return createTuple( node );
  }

  private static Tuple createTuple(Node entityNode) {
    return new Tuple( new Neo4jTupleSnapshot( entityNode ) );
  }
View Full Code Here


    return new Tuple( new Neo4jTupleSnapshot( entityNode ) );
  }

  @Override
  public void updateTuple(Tuple tuple, EntityKey key, TupleContext tupleContext) {
    Neo4jTupleSnapshot snapshot = (Neo4jTupleSnapshot) tuple.getSnapshot();
    Node node = snapshot.getNode();
    applyTupleOperations( node, tuple.getOperations() );
    GraphLogger.log( "Updated node: %1$s", node );
  }
View Full Code Here

    }
    return createTuple( entityNode );
  }

  private static Tuple createTuple(Node entityNode) {
    return new Tuple( new Neo4jTupleSnapshot( entityNode ) );
  }
View Full Code Here

  }

  @Override
  public Tuple createTupleAssociation(AssociationKey associationKey, RowKey rowKey) {
    PropertyContainer property = createRelationshipToEntityOrToTempNode( associationKey, rowKey );
    return new Tuple( new Neo4jTupleSnapshot( property ) );
  }
View Full Code Here

TOP

Related Classes of org.hibernate.ogm.datastore.neo4j.dialect.impl.Neo4jTupleSnapshot

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.