Examples of Neo4jTupleSnapshot


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

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

    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

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

    }
    return createTuple( entityNode );
  }

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

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

  }

  @Override
  public Tuple createTupleAssociation(AssociationKey associationKey, RowKey rowKey) {
    PropertyContainer property = createRelationshipToEntityOrToTempNode( associationKey, rowKey );
    return new Tuple( new Neo4jTupleSnapshot( property ) );
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.