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

io.snappydata.thrift.snappydataConstants Maven / Gradle / Ivy

/**
 * Autogenerated by Thrift Compiler (0.9.3)
 *
 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
 *  @generated
 */
package io.snappydata.thrift;

import org.apache.thrift.scheme.IScheme;
import org.apache.thrift.scheme.SchemeFactory;
import org.apache.thrift.scheme.StandardScheme;

import org.apache.thrift.scheme.TupleScheme;
import org.apache.thrift.protocol.TTupleProtocol;
import org.apache.thrift.protocol.TProtocolException;
import org.apache.thrift.EncodingUtils;
import org.apache.thrift.TException;
import org.apache.thrift.async.AsyncMethodCallback;
import org.apache.thrift.server.AbstractNonblockingServer.*;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import java.util.EnumMap;
import java.util.Set;
import java.util.HashSet;
import java.util.EnumSet;
import java.util.Collections;
import java.util.BitSet;
import java.nio.ByteBuffer;
import java.util.Arrays;
import javax.annotation.Generated;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
public class snappydataConstants {

  public static final byte RESULTSET_TYPE_FORWARD_ONLY = (byte)1;

  public static final byte RESULTSET_TYPE_INSENSITIVE = (byte)2;

  public static final byte RESULTSET_TYPE_SENSITIVE = (byte)3;

  public static final byte RESULTSET_TYPE_UNKNOWN = (byte)4;

  public static final boolean DEFAULT_AUTOCOMMIT = false;

  public static final byte DEFAULT_RESULTSET_TYPE = (byte)1;

  public static final boolean DEFAULT_RESULTSET_UPDATABLE = false;

  public static final boolean DEFAULT_RESULTSET_HOLD_CURSORS_OVER_COMMIT = false;

  public static final byte DRIVER_JDBC = (byte)1;

  public static final byte DRIVER_ODBC = (byte)2;

  public static final int DEFAULT_SESSION_TOKEN_SIZE = 16;

  public static final int DEFAULT_RESULTSET_BATCHSIZE = 8192;

  public static final int DEFAULT_LOB_CHUNKSIZE = 2097152;

  public static final byte TRANSACTION_NONE = (byte)0;

  public static final byte TRANSACTION_READ_UNCOMMITTED = (byte)1;

  public static final byte TRANSACTION_READ_COMMITTED = (byte)2;

  public static final byte TRANSACTION_REPEATABLE_READ = (byte)4;

  public static final byte TRANSACTION_SERIALIZABLE = (byte)8;

  public static final byte TRANSACTION_NO_CHANGE = (byte)64;

  public static final byte DEFAULT_TRANSACTION_ISOLATION = (byte)0;

  public static final int XA_OK = 0;

  public static final int XA_RDONLY = 3;

  public static final int XA_TMNOFLAGS = 0;

  public static final int XA_TMJOIN = 2097152;

  public static final int XA_TMENDRSCAN = 8388608;

  public static final int XA_TMSTARTRSCAN = 16777216;

  public static final int TMSUSPEND = 33554432;

  public static final int XA_TMSUCCESS = 67108864;

  public static final int XA_TMRESUME = 134217728;

  public static final int XA_TMFAIL = 536870912;

  public static final int XA_TMONEPHASE = 1073741824;

  public static final short COLUMN_PRECISION_UNKNOWN = (short)0;

  public static final short COLUMN_SCALE_UNKNOWN = (short)0;

  public static final int DECIMAL_MAX_PRECISION = 127;

  public static final int INVALID_ID = 0;

  public static final byte NEXTRS_CLOSE_ALL_RESULTS = (byte)0;

  public static final byte NEXTRS_KEEP_CURRENT_RESULT = (byte)1;

  public static final byte NEXTRS_CLOSE_CURRENT_RESULT = (byte)2;

  public static final byte ROWSET_LAST_BATCH = (byte)1;

  public static final byte ROWSET_HAS_MORE_ROWSETS = (byte)2;

  public static final byte ROWSET_BEFORE_FIRST = (byte)4;

  public static final byte ROWSET_AFTER_LAST = (byte)8;

  public static final byte STATEMENT_TYPE_SELECT = (byte)0;

  public static final byte STATEMENT_TYPE_INSERT = (byte)1;

  public static final byte STATEMENT_TYPE_UPDATE = (byte)2;

  public static final byte STATEMENT_TYPE_DELETE = (byte)3;

  public static final byte STATEMENT_TYPE_CALL = (byte)4;

  public static final byte STATEMENT_TYPE_DDL = (byte)5;

  public static final int CATALOG_GET_SCHEMA = 1;

  public static final int CATALOG_SCHEMA_EXISTS = 2;

  public static final int CATALOG_LIST_SCHEMAS = 3;

  public static final int CATALOG_GET_TABLE = 4;

  public static final int CATALOG_TABLE_EXISTS = 5;

  public static final int CATALOG_LIST_TABLES = 6;

  public static final int CATALOG_GET_FUNCTION = 7;

  public static final int CATALOG_FUNCTION_EXISTS = 8;

  public static final int CATALOG_LIST_FUNCTIONS = 9;

  public static final int CATALOG_GET_PARTITION = 10;

  public static final int CATALOG_LIST_PARTITION_NAMES = 11;

  public static final int CATALOG_LIST_PARTITIONS = 12;

  public static final int CATALOG_CREATE_SCHEMA = 101;

  public static final int CATALOG_DROP_SCHEMA = 102;

  public static final int CATALOG_CREATE_TABLE = 103;

  public static final int CATALOG_DROP_TABLE = 104;

  public static final int CATALOG_ALTER_TABLE = 105;

  public static final int CATALOG_RENAME_TABLE = 106;

  public static final int CATALOG_LOAD_TABLE = 107;

  public static final int CATALOG_CREATE_FUNCTION = 108;

  public static final int CATALOG_DROP_FUNCTION = 109;

  public static final int CATALOG_RENAME_FUNCTION = 110;

  public static final int CATALOG_CREATE_PARTITIONS = 111;

  public static final int CATALOG_DROP_PARTITIONS = 112;

  public static final int CATALOG_ALTER_PARTITIONS = 113;

  public static final int CATALOG_RENAME_PARTITIONS = 114;

  public static final int CATALOG_LOAD_PARTITION = 115;

  public static final int CATALOG_LOAD_DYNAMIC_PARTITIONS = 116;

  public static final byte BULK_CLOSE_RESULTSET = (byte)1;

  public static final byte BULK_CLOSE_LOB = (byte)2;

  public static final byte BULK_CLOSE_STATEMENT = (byte)3;

  public static final byte BULK_CLOSE_CONNECTION = (byte)4;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy