All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sirix.api.json.JsonNodeReadOnlyTrx Maven / Gradle / Ivy

Go to download

SirixDB is a hybrid on-disk and in-memory document oriented, versioned database system. It has a lightweight buffer manager, stores everything in a huge persistent and durable tree and allows efficient reconstruction of every revision. Furthermore, SirixDB implements change tracking, diffing and supports time travel queries.

There is a newer version: 0.11.0
Show newest version
package org.sirix.api.json;

import com.google.gson.JsonObject;
import org.sirix.api.Move;
import org.sirix.api.NodeCursor;
import org.sirix.api.NodeReadOnlyTrx;
import org.sirix.api.ResourceManager;
import org.sirix.api.visitor.JsonNodeVisitor;
import org.sirix.api.visitor.VisitResult;
import org.sirix.api.visitor.VisitResultType;
import org.sirix.node.SirixDeweyID;

import java.util.List;

public interface JsonNodeReadOnlyTrx extends NodeCursor, NodeReadOnlyTrx {
  @Override
  String getValue();

  boolean isObject();

  boolean isObjectKey();

  boolean isArray();

  boolean isStringValue();

  boolean isNumberValue();

  boolean isNullValue();

  boolean isBooleanValue();

  @Override
  Move moveTo(long nodeKey);

  @Override
  Move moveToDocumentRoot();

  @Override
  Move moveToFirstChild();

  @Override
  Move moveToLastChild();

  @Override
  Move moveToLeftSibling();

  @Override
  Move moveToParent();

  @Override
  Move moveToRightSibling();

  @Override
  Move moveToPrevious();

  @Override
  Move moveToNext();

  @Override
  Move moveToNextFollowing();

  /**
   * Accept a visitor.
   *
   * @param visitor {@link JsonNodeVisitor} implementation
   * @return {@link VisitResultType} value
   */
  VisitResult acceptVisitor(JsonNodeVisitor visitor);

  /**
   * Get the {@link ResourceManager} this instance is bound to.
   *
   * @return the resource manager
   */
  @Override
  JsonResourceManager getResourceManager();

  boolean getBooleanValue();

  Number getNumberValue();

  int getNameKey();

  List getUpdateOperations();

  List getUpdateOperationsInSubtreeOfNode(SirixDeweyID deweyID, long maxDepth);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy