org.sirix.api.json.JsonNodeReadOnlyTrx Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sirix-core Show documentation
Show all versions of sirix-core Show documentation
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.
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 extends JsonNodeReadOnlyTrx> moveTo(long nodeKey);
@Override
Move extends JsonNodeReadOnlyTrx> moveToDocumentRoot();
@Override
Move extends JsonNodeReadOnlyTrx> moveToFirstChild();
@Override
Move extends JsonNodeReadOnlyTrx> moveToLastChild();
@Override
Move extends JsonNodeReadOnlyTrx> moveToLeftSibling();
@Override
Move extends JsonNodeReadOnlyTrx> moveToParent();
@Override
Move extends JsonNodeReadOnlyTrx> moveToRightSibling();
@Override
Move extends JsonNodeReadOnlyTrx> moveToPrevious();
@Override
Move extends JsonNodeReadOnlyTrx> moveToNext();
@Override
Move extends JsonNodeReadOnlyTrx> 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