com.aerospike.jdbc.model.AerospikeQuery Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aerospike-jdbc Show documentation
Show all versions of aerospike-jdbc Show documentation
A JDBC driver for the Aerospike database
package com.aerospike.jdbc.model;
import com.aerospike.jdbc.predicate.QueryPredicate;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.annotations.VisibleForTesting;
import org.apache.calcite.avatica.util.Casing;
import org.apache.calcite.sql.SqlNode;
import org.apache.calcite.sql.parser.SqlParseException;
import org.apache.calcite.sql.parser.SqlParser;
import org.apache.calcite.sql.parser.ddl.SqlDdlParserImpl;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Map;
public class AerospikeQuery {
@VisibleForTesting
public static final SqlParser.Config sqlParserConfig = SqlParser.config()
.withParserFactory(SqlDdlParserImpl.FACTORY)
.withCaseSensitive(true)
.withUnquotedCasing(Casing.UNCHANGED)
.withQuotedCasing(Casing.UNCHANGED);
public static volatile Map secondaryIndexes;
private String catalog;
private String schema;
private String table;
private QueryType queryType;
private Integer offset;
private Integer limit;
private QueryPredicate predicate;
private List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy