Examples of ORecordBytesLazy


Examples of com.orientechnologies.orient.core.record.impl.ORecordBytesLazy

   */
  public OMVRBTreeEntryPersistent(final OMVRBTreePersistent<K, V> iTree, final OMVRBTreeEntryPersistent<K, V> iParent,
      final ORID iRecordId) throws IOException {
    super(iTree);
    pTree = iTree;
    record = new ORecordBytesLazy(this);
    record.setIdentity((ORecordId) iRecordId);

    parent = iParent;
    parentRid = iParent == null ? ORecordId.EMPTY_RECORD_ID : parent.record.getIdentity();
  }
View Full Code Here

Examples of com.orientechnologies.orient.core.record.impl.ORecordBytesLazy

    parentRid = new ORecordId();
    leftRid = new ORecordId();
    rightRid = new ORecordId();

    record = new ORecordBytesLazy(this);

    pageSize = pTree.getPageSize();

    serializedKeys = new int[pageSize];
    serializedValues = new int[pageSize];
View Full Code Here

Examples of com.orientechnologies.orient.core.record.impl.ORecordBytesLazy

   * @param iLeft
   */
  public OMVRBTreeEntryPersistent(final OMVRBTreeEntry<K, V> iParent, final int iPosition) {
    super(iParent, iPosition);
    pTree = (OMVRBTreePersistent<K, V>) tree;
    record = new ORecordBytesLazy(this);

    setParent(iParent);

    parentRid = new ORecordId();
    leftRid = new ORecordId();
View Full Code Here

Examples of com.orientechnologies.orient.core.record.impl.ORecordBytesLazy

   */
  public OMVRBTreeEntryPersistent(final OMVRBTreePersistent<K, V> iTree, final OMVRBTreeEntryPersistent<K, V> iParent,
      final ORID iRecordId) throws IOException {
    super(iTree);
    pTree = iTree;
    record = new ORecordBytesLazy(this);
    record.setIdentity((ORecordId) iRecordId);

    parent = iParent;
    parentRid = iParent == null ? ORecordId.EMPTY_RECORD_ID : parent.record.getIdentity();
  }
View Full Code Here

Examples of com.orientechnologies.orient.core.record.impl.ORecordBytesLazy

    parentRid = new ORecordId();
    leftRid = new ORecordId();
    rightRid = new ORecordId();

    record = new ORecordBytesLazy(this);

    pageSize = pTree.getPageSize();

    serializedKeys = new int[pageSize];
    serializedValues = new int[pageSize];
View Full Code Here

Examples of com.orientechnologies.orient.core.record.impl.ORecordBytesLazy

    // MINIMIZE I/O USING A LARGER PAGE THAN THE DEFAULT USED IN MEMORY
    super(OGlobalConfiguration.MVRBTREE_NODE_PAGE_SIZE.getValueAsInteger(), 0.7f);
    config();

    clusterName = iClusterName;
    record = new ORecordBytesLazy(this);

    keySerializer = iKeySerializer;
    valueSerializer = iValueSerializer;

    entryRecordBuffer = new OMemoryOutputStream(getPageSize() * 15);
 
View Full Code Here

Examples of com.orientechnologies.orient.core.record.impl.ORecordBytesLazy

    ORecordInternal.setIdentity(record, iRID.getClusterId(), iRID.getClusterPosition());
  }

  public OMVRBTreeMapProvider(final OStorage iStorage, final String iClusterName, final OBinarySerializer<K> iKeySerializer,
      final OStreamSerializer iValueSerializer) {
    super(new ORecordBytesLazy(), iStorage, iClusterName);
    ((ORecordBytesLazy) record).recycle(this);
    stream = new OMemoryStream();
    keySerializer = iKeySerializer;
    valueSerializer = iValueSerializer;
  }
View Full Code Here

Examples of com.orientechnologies.orient.core.record.impl.ORecordBytesLazy

    parentRid = new ORecordId();
    leftRid = new ORecordId();
    rightRid = new ORecordId();

    record = (ORecordBytesLazy) new ORecordBytesLazy(this);
    if (iRID != null) {
      ORecordInternal.setIdentity(record, iRID.getClusterId(), iRID.getClusterPosition());
      if (treeDataProvider.storage == null)
        load(OMVRBTreeProviderAbstract.getDatabase());
      else
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.