org.sirix.api.json.JsonNodeTrx 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 org.brackit.xquery.xdm.Item;
import org.sirix.access.trx.node.json.objectvalue.ObjectRecordValue;
import org.sirix.api.NodeTrx;
import com.google.gson.stream.JsonReader;
public interface JsonNodeTrx extends JsonNodeReadOnlyTrx, NodeTrx {
enum Commit {
IMPLICIT,
NO
}
enum CheckParentNode {
YES,
NO
}
enum SkipRootToken {
YES,
NO
}
JsonNodeTrx insertObjectAsFirstChild();
JsonNodeTrx insertObjectAsLastChild();
JsonNodeTrx insertObjectAsLeftSibling();
JsonNodeTrx insertObjectAsRightSibling();
JsonNodeTrx insertObjectRecordAsFirstChild(String key, ObjectRecordValue> value);
JsonNodeTrx insertObjectRecordAsLastChild(String key, ObjectRecordValue> value);
JsonNodeTrx insertObjectRecordAsLeftSibling(String key, ObjectRecordValue> value);
JsonNodeTrx insertObjectRecordAsRightSibling(String key, ObjectRecordValue> value);
JsonNodeTrx insertArrayAsFirstChild();
JsonNodeTrx insertArrayAsLastChild();
JsonNodeTrx insertArrayAsLeftSibling();
JsonNodeTrx insertArrayAsRightSibling();
JsonNodeTrx replaceObjectRecordValue(ObjectRecordValue> value);
JsonNodeTrx setObjectKeyName(String key);
JsonNodeTrx setStringValue(String value);
JsonNodeTrx setBooleanValue(boolean value);
JsonNodeTrx setNumberValue(Number value);
JsonNodeTrx remove();
JsonNodeTrx insertStringValueAsFirstChild(String value);
JsonNodeTrx insertStringValueAsLastChild(String value);
JsonNodeTrx insertStringValueAsLeftSibling(String value);
JsonNodeTrx insertStringValueAsRightSibling(String value);
JsonNodeTrx insertBooleanValueAsFirstChild(boolean value);
JsonNodeTrx insertBooleanValueAsLastChild(boolean value);
JsonNodeTrx insertBooleanValueAsLeftSibling(boolean value);
JsonNodeTrx insertBooleanValueAsRightSibling(boolean value);
JsonNodeTrx insertNumberValueAsFirstChild(Number value);
JsonNodeTrx insertNumberValueAsLastChild(Number value);
JsonNodeTrx insertNumberValueAsLeftSibling(Number value);
JsonNodeTrx insertNumberValueAsRightSibling(Number value);
JsonNodeTrx insertNullValueAsFirstChild();
JsonNodeTrx insertNullValueAsLastChild();
JsonNodeTrx insertNullValueAsLeftSibling();
JsonNodeTrx insertNullValueAsRightSibling();
JsonNodeTrx insertSubtreeAsFirstChild(JsonReader reader);
JsonNodeTrx insertSubtreeAsFirstChild(JsonReader reader, Commit doImplicitCommit);
JsonNodeTrx insertSubtreeAsFirstChild(JsonReader reader, Commit doImplicitCommit, CheckParentNode checkParentNode);
JsonNodeTrx insertSubtreeAsFirstChild(JsonReader reader, Commit commit, CheckParentNode checkParentNode,
SkipRootToken skipRootToken);
JsonNodeTrx insertSubtreeAsLastChild(JsonReader reader);
JsonNodeTrx insertSubtreeAsLastChild(JsonReader reader, Commit doImplicitCommit);
JsonNodeTrx insertSubtreeAsLastChild(JsonReader reader, Commit doImplicitCommit, CheckParentNode checkParentNode);
JsonNodeTrx insertSubtreeAsLastChild(JsonReader reader, Commit commit, CheckParentNode checkParentNode,
SkipRootToken skipRootToken);
JsonNodeTrx insertSubtreeAsLeftSibling(JsonReader reader);
JsonNodeTrx insertSubtreeAsLeftSibling(JsonReader reader, Commit doImplicitCommit);
JsonNodeTrx insertSubtreeAsLeftSibling(JsonReader reader, Commit doImplicitCommit, CheckParentNode checkParentNode);
JsonNodeTrx insertSubtreeAsLeftSibling(JsonReader reader, Commit commit, CheckParentNode checkParentNode,
SkipRootToken skipRootToken);
JsonNodeTrx insertSubtreeAsRightSibling(JsonReader reader);
JsonNodeTrx insertSubtreeAsRightSibling(JsonReader reader, Commit doImplicitCommit);
JsonNodeTrx insertSubtreeAsRightSibling(JsonReader reader, Commit doImplicitCommit, CheckParentNode checkParentNode);
JsonNodeTrx insertSubtreeAsRightSibling(JsonReader reader, Commit commit, CheckParentNode checkParentNode,
SkipRootToken skipRootToken);
JsonNodeTrx insertSubtreeAsFirstChild(Item item);
JsonNodeTrx insertSubtreeAsFirstChild(Item item, Commit doImplicitCommit);
JsonNodeTrx insertSubtreeAsFirstChild(Item item, Commit doImplicitCommit, CheckParentNode checkParentNode);
JsonNodeTrx insertSubtreeAsFirstChild(Item item, Commit doImplicitCommit, CheckParentNode checkParentNode,
SkipRootToken skipRootToken);
JsonNodeTrx insertSubtreeAsLastChild(Item item);
JsonNodeTrx insertSubtreeAsLastChild(Item item, Commit doImplicitCommit);
JsonNodeTrx insertSubtreeAsLastChild(Item item, Commit doImplicitCommit, CheckParentNode checkParentNode);
JsonNodeTrx insertSubtreeAsLastChild(Item item, Commit doImplicitCommit, CheckParentNode checkParentNode,
SkipRootToken skipRootToken);
JsonNodeTrx insertSubtreeAsLeftSibling(Item item);
JsonNodeTrx insertSubtreeAsLeftSibling(Item item, Commit doImplicitCommit);
JsonNodeTrx insertSubtreeAsLeftSibling(Item item, Commit doImplicitCommit, CheckParentNode checkParentNode);
JsonNodeTrx insertSubtreeAsLeftSibling(Item item, Commit doImplicitCommit, CheckParentNode checkParentNode,
SkipRootToken skipRootToken);
JsonNodeTrx insertSubtreeAsRightSibling(Item item);
JsonNodeTrx insertSubtreeAsRightSibling(Item item, Commit doImplicitCommit);
JsonNodeTrx insertSubtreeAsRightSibling(Item item, Commit doImplicitCommit, CheckParentNode checkParentNode);
JsonNodeTrx insertSubtreeAsRightSibling(Item item, Commit doImplicitCommit, CheckParentNode checkParentNode,
SkipRootToken skipRootToken);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy