
com.aerospike.documentapi.IAerospikeDocumentRepository Maven / Gradle / Ivy
package com.aerospike.documentapi;
import com.aerospike.client.Key;
import com.aerospike.client.policy.Policy;
import com.aerospike.client.policy.WritePolicy;
import com.fasterxml.jackson.databind.JsonNode;
import java.util.Collection;
import java.util.Map;
public interface IAerospikeDocumentRepository {
Object get(Policy readPolicy, Key documentKey, String documentBinName, JsonPathObject jsonPathObject) throws DocumentApiException;
Map get(Policy readPolicy, Key documentKey, Collection documentBinNames, JsonPathObject jsonPathObject) throws DocumentApiException;
void put(WritePolicy writePolicy, Key documentKey, String documentBinName, JsonNode jsonNode);
void put(WritePolicy writePolicy, Key documentKey, String documentBinName, Object jsonObject, JsonPathObject jsonPathObject) throws DocumentApiException;
void put(WritePolicy writePolicy, Key documentKey, Collection documentBinNames, Object jsonObject, JsonPathObject jsonPathObject) throws DocumentApiException;
void put(WritePolicy writePolicy, Key documentKey, Map queryResults, JsonPathObject jsonPathObject) throws DocumentApiException;
void append(WritePolicy writePolicy, Key documentKey, String documentBinName, String jsonPath, Object jsonObject, JsonPathObject jsonPathObject) throws JsonPathParser.ListException, DocumentApiException;
void append(WritePolicy writePolicy, Key documentKey, Collection documentBinNames, String jsonPath, Object jsonObject, JsonPathObject jsonPathObject) throws JsonPathParser.ListException, DocumentApiException;
void append(WritePolicy writePolicy, Key documentKey, Map queryResults, String jsonPath, JsonPathObject jsonPathObject) throws JsonPathParser.ListException, DocumentApiException;
void delete(WritePolicy writePolicy, Key documentKey, String documentBinName, String jsonPath, JsonPathObject jsonPathObject) throws JsonPathParser.ListException, DocumentApiException;
void delete(WritePolicy writePolicy, Key documentKey, Collection documentBinNames, String jsonPath, JsonPathObject jsonPathObject) throws JsonPathParser.ListException, DocumentApiException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy