incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [06/18] Removing used dirs.
Date Thu, 28 Mar 2013 23:36:03 GMT
http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/32e1d176/interface/gen-java/org/apache/blur/thrift/generated/TableDescriptor.java
----------------------------------------------------------------------
diff --git a/interface/gen-java/org/apache/blur/thrift/generated/TableDescriptor.java b/interface/gen-java/org/apache/blur/thrift/generated/TableDescriptor.java
deleted file mode 100644
index fd08187..0000000
--- a/interface/gen-java/org/apache/blur/thrift/generated/TableDescriptor.java
+++ /dev/null
@@ -1,1995 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.9.0)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- *  @generated
- */
-package org.apache.blur.thrift.generated;
-
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
-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 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 org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- * 
- */
-public class TableDescriptor implements org.apache.thrift.TBase<TableDescriptor, TableDescriptor._Fields>, java.io.Serializable, Cloneable {
-  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TableDescriptor");
-
-  private static final org.apache.thrift.protocol.TField IS_ENABLED_FIELD_DESC = new org.apache.thrift.protocol.TField("isEnabled", org.apache.thrift.protocol.TType.BOOL, (short)1);
-  private static final org.apache.thrift.protocol.TField ANALYZER_DEFINITION_FIELD_DESC = new org.apache.thrift.protocol.TField("analyzerDefinition", org.apache.thrift.protocol.TType.STRUCT, (short)2);
-  private static final org.apache.thrift.protocol.TField SHARD_COUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("shardCount", org.apache.thrift.protocol.TType.I32, (short)3);
-  private static final org.apache.thrift.protocol.TField TABLE_URI_FIELD_DESC = new org.apache.thrift.protocol.TField("tableUri", org.apache.thrift.protocol.TType.STRING, (short)4);
-  private static final org.apache.thrift.protocol.TField COMPRESSION_CLASS_FIELD_DESC = new org.apache.thrift.protocol.TField("compressionClass", org.apache.thrift.protocol.TType.STRING, (short)5);
-  private static final org.apache.thrift.protocol.TField COMPRESSION_BLOCK_SIZE_FIELD_DESC = new org.apache.thrift.protocol.TField("compressionBlockSize", org.apache.thrift.protocol.TType.I32, (short)6);
-  private static final org.apache.thrift.protocol.TField CLUSTER_FIELD_DESC = new org.apache.thrift.protocol.TField("cluster", org.apache.thrift.protocol.TType.STRING, (short)7);
-  private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)8);
-  private static final org.apache.thrift.protocol.TField SIMILARITY_CLASS_FIELD_DESC = new org.apache.thrift.protocol.TField("similarityClass", org.apache.thrift.protocol.TType.STRING, (short)9);
-  private static final org.apache.thrift.protocol.TField BLOCK_CACHING_FIELD_DESC = new org.apache.thrift.protocol.TField("blockCaching", org.apache.thrift.protocol.TType.BOOL, (short)10);
-  private static final org.apache.thrift.protocol.TField BLOCK_CACHING_FILE_TYPES_FIELD_DESC = new org.apache.thrift.protocol.TField("blockCachingFileTypes", org.apache.thrift.protocol.TType.SET, (short)11);
-  private static final org.apache.thrift.protocol.TField READ_ONLY_FIELD_DESC = new org.apache.thrift.protocol.TField("readOnly", org.apache.thrift.protocol.TType.BOOL, (short)12);
-  private static final org.apache.thrift.protocol.TField COLUMN_PRE_CACHE_FIELD_DESC = new org.apache.thrift.protocol.TField("columnPreCache", org.apache.thrift.protocol.TType.STRUCT, (short)13);
-  private static final org.apache.thrift.protocol.TField TABLE_PROPERTIES_FIELD_DESC = new org.apache.thrift.protocol.TField("tableProperties", org.apache.thrift.protocol.TType.MAP, (short)14);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new TableDescriptorStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new TableDescriptorTupleSchemeFactory());
-  }
-
-  /**
-   * 
-   */
-  public boolean isEnabled; // required
-  /**
-   * 
-   */
-  public AnalyzerDefinition analyzerDefinition; // required
-  /**
-   * 
-   */
-  public int shardCount; // required
-  /**
-   * 
-   */
-  public String tableUri; // required
-  /**
-   * 
-   */
-  public String compressionClass; // required
-  /**
-   * 
-   */
-  public int compressionBlockSize; // required
-  /**
-   * 
-   */
-  public String cluster; // required
-  /**
-   * 
-   */
-  public String name; // required
-  /**
-   * 
-   */
-  public String similarityClass; // required
-  /**
-   * 
-   */
-  public boolean blockCaching; // required
-  /**
-   * 
-   */
-  public Set<String> blockCachingFileTypes; // required
-  /**
-   * If a table is set to be readonly, that means that mutates through Thrift are NOT allowed.  However
-   * updates through MapReduce are allowed and in fact they are only allowed if the table is in readOnly mode.
-   */
-  public boolean readOnly; // required
-  /**
-   * Sets what column families and columns to prefetch into block cache on shard open.
-   */
-  public ColumnPreCache columnPreCache; // required
-  /**
-   * Properties, used to override default settings on a per table basis.
-   */
-  public Map<String,String> tableProperties; // required
-
-  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-    /**
-     * 
-     */
-    IS_ENABLED((short)1, "isEnabled"),
-    /**
-     * 
-     */
-    ANALYZER_DEFINITION((short)2, "analyzerDefinition"),
-    /**
-     * 
-     */
-    SHARD_COUNT((short)3, "shardCount"),
-    /**
-     * 
-     */
-    TABLE_URI((short)4, "tableUri"),
-    /**
-     * 
-     */
-    COMPRESSION_CLASS((short)5, "compressionClass"),
-    /**
-     * 
-     */
-    COMPRESSION_BLOCK_SIZE((short)6, "compressionBlockSize"),
-    /**
-     * 
-     */
-    CLUSTER((short)7, "cluster"),
-    /**
-     * 
-     */
-    NAME((short)8, "name"),
-    /**
-     * 
-     */
-    SIMILARITY_CLASS((short)9, "similarityClass"),
-    /**
-     * 
-     */
-    BLOCK_CACHING((short)10, "blockCaching"),
-    /**
-     * 
-     */
-    BLOCK_CACHING_FILE_TYPES((short)11, "blockCachingFileTypes"),
-    /**
-     * If a table is set to be readonly, that means that mutates through Thrift are NOT allowed.  However
-     * updates through MapReduce are allowed and in fact they are only allowed if the table is in readOnly mode.
-     */
-    READ_ONLY((short)12, "readOnly"),
-    /**
-     * Sets what column families and columns to prefetch into block cache on shard open.
-     */
-    COLUMN_PRE_CACHE((short)13, "columnPreCache"),
-    /**
-     * Properties, used to override default settings on a per table basis.
-     */
-    TABLE_PROPERTIES((short)14, "tableProperties");
-
-    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-    static {
-      for (_Fields field : EnumSet.allOf(_Fields.class)) {
-        byName.put(field.getFieldName(), field);
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, or null if its not found.
-     */
-    public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
-        case 1: // IS_ENABLED
-          return IS_ENABLED;
-        case 2: // ANALYZER_DEFINITION
-          return ANALYZER_DEFINITION;
-        case 3: // SHARD_COUNT
-          return SHARD_COUNT;
-        case 4: // TABLE_URI
-          return TABLE_URI;
-        case 5: // COMPRESSION_CLASS
-          return COMPRESSION_CLASS;
-        case 6: // COMPRESSION_BLOCK_SIZE
-          return COMPRESSION_BLOCK_SIZE;
-        case 7: // CLUSTER
-          return CLUSTER;
-        case 8: // NAME
-          return NAME;
-        case 9: // SIMILARITY_CLASS
-          return SIMILARITY_CLASS;
-        case 10: // BLOCK_CACHING
-          return BLOCK_CACHING;
-        case 11: // BLOCK_CACHING_FILE_TYPES
-          return BLOCK_CACHING_FILE_TYPES;
-        case 12: // READ_ONLY
-          return READ_ONLY;
-        case 13: // COLUMN_PRE_CACHE
-          return COLUMN_PRE_CACHE;
-        case 14: // TABLE_PROPERTIES
-          return TABLE_PROPERTIES;
-        default:
-          return null;
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
-     */
-    public static _Fields findByThriftIdOrThrow(int fieldId) {
-      _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-      return fields;
-    }
-
-    /**
-     * Find the _Fields constant that matches name, or null if its not found.
-     */
-    public static _Fields findByName(String name) {
-      return byName.get(name);
-    }
-
-    private final short _thriftId;
-    private final String _fieldName;
-
-    _Fields(short thriftId, String fieldName) {
-      _thriftId = thriftId;
-      _fieldName = fieldName;
-    }
-
-    public short getThriftFieldId() {
-      return _thriftId;
-    }
-
-    public String getFieldName() {
-      return _fieldName;
-    }
-  }
-
-  // isset id assignments
-  private static final int __ISENABLED_ISSET_ID = 0;
-  private static final int __SHARDCOUNT_ISSET_ID = 1;
-  private static final int __COMPRESSIONBLOCKSIZE_ISSET_ID = 2;
-  private static final int __BLOCKCACHING_ISSET_ID = 3;
-  private static final int __READONLY_ISSET_ID = 4;
-  private byte __isset_bitfield = 0;
-  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.IS_ENABLED, new org.apache.thrift.meta_data.FieldMetaData("isEnabled", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-    tmpMap.put(_Fields.ANALYZER_DEFINITION, new org.apache.thrift.meta_data.FieldMetaData("analyzerDefinition", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AnalyzerDefinition.class)));
-    tmpMap.put(_Fields.SHARD_COUNT, new org.apache.thrift.meta_data.FieldMetaData("shardCount", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
-    tmpMap.put(_Fields.TABLE_URI, new org.apache.thrift.meta_data.FieldMetaData("tableUri", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.COMPRESSION_CLASS, new org.apache.thrift.meta_data.FieldMetaData("compressionClass", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.COMPRESSION_BLOCK_SIZE, new org.apache.thrift.meta_data.FieldMetaData("compressionBlockSize", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
-    tmpMap.put(_Fields.CLUSTER, new org.apache.thrift.meta_data.FieldMetaData("cluster", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.NAME, new org.apache.thrift.meta_data.FieldMetaData("name", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.SIMILARITY_CLASS, new org.apache.thrift.meta_data.FieldMetaData("similarityClass", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-    tmpMap.put(_Fields.BLOCK_CACHING, new org.apache.thrift.meta_data.FieldMetaData("blockCaching", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-    tmpMap.put(_Fields.BLOCK_CACHING_FILE_TYPES, new org.apache.thrift.meta_data.FieldMetaData("blockCachingFileTypes", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.SetMetaData(org.apache.thrift.protocol.TType.SET, 
-            new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
-    tmpMap.put(_Fields.READ_ONLY, new org.apache.thrift.meta_data.FieldMetaData("readOnly", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-    tmpMap.put(_Fields.COLUMN_PRE_CACHE, new org.apache.thrift.meta_data.FieldMetaData("columnPreCache", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ColumnPreCache.class)));
-    tmpMap.put(_Fields.TABLE_PROPERTIES, new org.apache.thrift.meta_data.FieldMetaData("tableProperties", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-        new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-            new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), 
-            new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TableDescriptor.class, metaDataMap);
-  }
-
-  public TableDescriptor() {
-    this.isEnabled = true;
-
-    this.shardCount = 1;
-
-    this.compressionClass = "org.apache.hadoop.io.compress.DefaultCodec";
-
-    this.compressionBlockSize = 32768;
-
-    this.cluster = "default";
-
-    this.blockCaching = true;
-
-    this.readOnly = false;
-
-  }
-
-  public TableDescriptor(
-    boolean isEnabled,
-    AnalyzerDefinition analyzerDefinition,
-    int shardCount,
-    String tableUri,
-    String compressionClass,
-    int compressionBlockSize,
-    String cluster,
-    String name,
-    String similarityClass,
-    boolean blockCaching,
-    Set<String> blockCachingFileTypes,
-    boolean readOnly,
-    ColumnPreCache columnPreCache,
-    Map<String,String> tableProperties)
-  {
-    this();
-    this.isEnabled = isEnabled;
-    setIsEnabledIsSet(true);
-    this.analyzerDefinition = analyzerDefinition;
-    this.shardCount = shardCount;
-    setShardCountIsSet(true);
-    this.tableUri = tableUri;
-    this.compressionClass = compressionClass;
-    this.compressionBlockSize = compressionBlockSize;
-    setCompressionBlockSizeIsSet(true);
-    this.cluster = cluster;
-    this.name = name;
-    this.similarityClass = similarityClass;
-    this.blockCaching = blockCaching;
-    setBlockCachingIsSet(true);
-    this.blockCachingFileTypes = blockCachingFileTypes;
-    this.readOnly = readOnly;
-    setReadOnlyIsSet(true);
-    this.columnPreCache = columnPreCache;
-    this.tableProperties = tableProperties;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public TableDescriptor(TableDescriptor other) {
-    __isset_bitfield = other.__isset_bitfield;
-    this.isEnabled = other.isEnabled;
-    if (other.isSetAnalyzerDefinition()) {
-      this.analyzerDefinition = new AnalyzerDefinition(other.analyzerDefinition);
-    }
-    this.shardCount = other.shardCount;
-    if (other.isSetTableUri()) {
-      this.tableUri = other.tableUri;
-    }
-    if (other.isSetCompressionClass()) {
-      this.compressionClass = other.compressionClass;
-    }
-    this.compressionBlockSize = other.compressionBlockSize;
-    if (other.isSetCluster()) {
-      this.cluster = other.cluster;
-    }
-    if (other.isSetName()) {
-      this.name = other.name;
-    }
-    if (other.isSetSimilarityClass()) {
-      this.similarityClass = other.similarityClass;
-    }
-    this.blockCaching = other.blockCaching;
-    if (other.isSetBlockCachingFileTypes()) {
-      Set<String> __this__blockCachingFileTypes = new HashSet<String>();
-      for (String other_element : other.blockCachingFileTypes) {
-        __this__blockCachingFileTypes.add(other_element);
-      }
-      this.blockCachingFileTypes = __this__blockCachingFileTypes;
-    }
-    this.readOnly = other.readOnly;
-    if (other.isSetColumnPreCache()) {
-      this.columnPreCache = new ColumnPreCache(other.columnPreCache);
-    }
-    if (other.isSetTableProperties()) {
-      Map<String,String> __this__tableProperties = new HashMap<String,String>();
-      for (Map.Entry<String, String> other_element : other.tableProperties.entrySet()) {
-
-        String other_element_key = other_element.getKey();
-        String other_element_value = other_element.getValue();
-
-        String __this__tableProperties_copy_key = other_element_key;
-
-        String __this__tableProperties_copy_value = other_element_value;
-
-        __this__tableProperties.put(__this__tableProperties_copy_key, __this__tableProperties_copy_value);
-      }
-      this.tableProperties = __this__tableProperties;
-    }
-  }
-
-  public TableDescriptor deepCopy() {
-    return new TableDescriptor(this);
-  }
-
-  @Override
-  public void clear() {
-    this.isEnabled = true;
-
-    this.analyzerDefinition = null;
-    this.shardCount = 1;
-
-    this.tableUri = null;
-    this.compressionClass = "org.apache.hadoop.io.compress.DefaultCodec";
-
-    this.compressionBlockSize = 32768;
-
-    this.cluster = "default";
-
-    this.name = null;
-    this.similarityClass = null;
-    this.blockCaching = true;
-
-    this.blockCachingFileTypes = null;
-    this.readOnly = false;
-
-    this.columnPreCache = null;
-    this.tableProperties = null;
-  }
-
-  /**
-   * 
-   */
-  public boolean isIsEnabled() {
-    return this.isEnabled;
-  }
-
-  /**
-   * 
-   */
-  public TableDescriptor setIsEnabled(boolean isEnabled) {
-    this.isEnabled = isEnabled;
-    setIsEnabledIsSet(true);
-    return this;
-  }
-
-  public void unsetIsEnabled() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __ISENABLED_ISSET_ID);
-  }
-
-  /** Returns true if field isEnabled is set (has been assigned a value) and false otherwise */
-  public boolean isSetIsEnabled() {
-    return EncodingUtils.testBit(__isset_bitfield, __ISENABLED_ISSET_ID);
-  }
-
-  public void setIsEnabledIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __ISENABLED_ISSET_ID, value);
-  }
-
-  /**
-   * 
-   */
-  public AnalyzerDefinition getAnalyzerDefinition() {
-    return this.analyzerDefinition;
-  }
-
-  /**
-   * 
-   */
-  public TableDescriptor setAnalyzerDefinition(AnalyzerDefinition analyzerDefinition) {
-    this.analyzerDefinition = analyzerDefinition;
-    return this;
-  }
-
-  public void unsetAnalyzerDefinition() {
-    this.analyzerDefinition = null;
-  }
-
-  /** Returns true if field analyzerDefinition is set (has been assigned a value) and false otherwise */
-  public boolean isSetAnalyzerDefinition() {
-    return this.analyzerDefinition != null;
-  }
-
-  public void setAnalyzerDefinitionIsSet(boolean value) {
-    if (!value) {
-      this.analyzerDefinition = null;
-    }
-  }
-
-  /**
-   * 
-   */
-  public int getShardCount() {
-    return this.shardCount;
-  }
-
-  /**
-   * 
-   */
-  public TableDescriptor setShardCount(int shardCount) {
-    this.shardCount = shardCount;
-    setShardCountIsSet(true);
-    return this;
-  }
-
-  public void unsetShardCount() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SHARDCOUNT_ISSET_ID);
-  }
-
-  /** Returns true if field shardCount is set (has been assigned a value) and false otherwise */
-  public boolean isSetShardCount() {
-    return EncodingUtils.testBit(__isset_bitfield, __SHARDCOUNT_ISSET_ID);
-  }
-
-  public void setShardCountIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SHARDCOUNT_ISSET_ID, value);
-  }
-
-  /**
-   * 
-   */
-  public String getTableUri() {
-    return this.tableUri;
-  }
-
-  /**
-   * 
-   */
-  public TableDescriptor setTableUri(String tableUri) {
-    this.tableUri = tableUri;
-    return this;
-  }
-
-  public void unsetTableUri() {
-    this.tableUri = null;
-  }
-
-  /** Returns true if field tableUri is set (has been assigned a value) and false otherwise */
-  public boolean isSetTableUri() {
-    return this.tableUri != null;
-  }
-
-  public void setTableUriIsSet(boolean value) {
-    if (!value) {
-      this.tableUri = null;
-    }
-  }
-
-  /**
-   * 
-   */
-  public String getCompressionClass() {
-    return this.compressionClass;
-  }
-
-  /**
-   * 
-   */
-  public TableDescriptor setCompressionClass(String compressionClass) {
-    this.compressionClass = compressionClass;
-    return this;
-  }
-
-  public void unsetCompressionClass() {
-    this.compressionClass = null;
-  }
-
-  /** Returns true if field compressionClass is set (has been assigned a value) and false otherwise */
-  public boolean isSetCompressionClass() {
-    return this.compressionClass != null;
-  }
-
-  public void setCompressionClassIsSet(boolean value) {
-    if (!value) {
-      this.compressionClass = null;
-    }
-  }
-
-  /**
-   * 
-   */
-  public int getCompressionBlockSize() {
-    return this.compressionBlockSize;
-  }
-
-  /**
-   * 
-   */
-  public TableDescriptor setCompressionBlockSize(int compressionBlockSize) {
-    this.compressionBlockSize = compressionBlockSize;
-    setCompressionBlockSizeIsSet(true);
-    return this;
-  }
-
-  public void unsetCompressionBlockSize() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __COMPRESSIONBLOCKSIZE_ISSET_ID);
-  }
-
-  /** Returns true if field compressionBlockSize is set (has been assigned a value) and false otherwise */
-  public boolean isSetCompressionBlockSize() {
-    return EncodingUtils.testBit(__isset_bitfield, __COMPRESSIONBLOCKSIZE_ISSET_ID);
-  }
-
-  public void setCompressionBlockSizeIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __COMPRESSIONBLOCKSIZE_ISSET_ID, value);
-  }
-
-  /**
-   * 
-   */
-  public String getCluster() {
-    return this.cluster;
-  }
-
-  /**
-   * 
-   */
-  public TableDescriptor setCluster(String cluster) {
-    this.cluster = cluster;
-    return this;
-  }
-
-  public void unsetCluster() {
-    this.cluster = null;
-  }
-
-  /** Returns true if field cluster is set (has been assigned a value) and false otherwise */
-  public boolean isSetCluster() {
-    return this.cluster != null;
-  }
-
-  public void setClusterIsSet(boolean value) {
-    if (!value) {
-      this.cluster = null;
-    }
-  }
-
-  /**
-   * 
-   */
-  public String getName() {
-    return this.name;
-  }
-
-  /**
-   * 
-   */
-  public TableDescriptor setName(String name) {
-    this.name = name;
-    return this;
-  }
-
-  public void unsetName() {
-    this.name = null;
-  }
-
-  /** Returns true if field name is set (has been assigned a value) and false otherwise */
-  public boolean isSetName() {
-    return this.name != null;
-  }
-
-  public void setNameIsSet(boolean value) {
-    if (!value) {
-      this.name = null;
-    }
-  }
-
-  /**
-   * 
-   */
-  public String getSimilarityClass() {
-    return this.similarityClass;
-  }
-
-  /**
-   * 
-   */
-  public TableDescriptor setSimilarityClass(String similarityClass) {
-    this.similarityClass = similarityClass;
-    return this;
-  }
-
-  public void unsetSimilarityClass() {
-    this.similarityClass = null;
-  }
-
-  /** Returns true if field similarityClass is set (has been assigned a value) and false otherwise */
-  public boolean isSetSimilarityClass() {
-    return this.similarityClass != null;
-  }
-
-  public void setSimilarityClassIsSet(boolean value) {
-    if (!value) {
-      this.similarityClass = null;
-    }
-  }
-
-  /**
-   * 
-   */
-  public boolean isBlockCaching() {
-    return this.blockCaching;
-  }
-
-  /**
-   * 
-   */
-  public TableDescriptor setBlockCaching(boolean blockCaching) {
-    this.blockCaching = blockCaching;
-    setBlockCachingIsSet(true);
-    return this;
-  }
-
-  public void unsetBlockCaching() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __BLOCKCACHING_ISSET_ID);
-  }
-
-  /** Returns true if field blockCaching is set (has been assigned a value) and false otherwise */
-  public boolean isSetBlockCaching() {
-    return EncodingUtils.testBit(__isset_bitfield, __BLOCKCACHING_ISSET_ID);
-  }
-
-  public void setBlockCachingIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __BLOCKCACHING_ISSET_ID, value);
-  }
-
-  public int getBlockCachingFileTypesSize() {
-    return (this.blockCachingFileTypes == null) ? 0 : this.blockCachingFileTypes.size();
-  }
-
-  public java.util.Iterator<String> getBlockCachingFileTypesIterator() {
-    return (this.blockCachingFileTypes == null) ? null : this.blockCachingFileTypes.iterator();
-  }
-
-  public void addToBlockCachingFileTypes(String elem) {
-    if (this.blockCachingFileTypes == null) {
-      this.blockCachingFileTypes = new HashSet<String>();
-    }
-    this.blockCachingFileTypes.add(elem);
-  }
-
-  /**
-   * 
-   */
-  public Set<String> getBlockCachingFileTypes() {
-    return this.blockCachingFileTypes;
-  }
-
-  /**
-   * 
-   */
-  public TableDescriptor setBlockCachingFileTypes(Set<String> blockCachingFileTypes) {
-    this.blockCachingFileTypes = blockCachingFileTypes;
-    return this;
-  }
-
-  public void unsetBlockCachingFileTypes() {
-    this.blockCachingFileTypes = null;
-  }
-
-  /** Returns true if field blockCachingFileTypes is set (has been assigned a value) and false otherwise */
-  public boolean isSetBlockCachingFileTypes() {
-    return this.blockCachingFileTypes != null;
-  }
-
-  public void setBlockCachingFileTypesIsSet(boolean value) {
-    if (!value) {
-      this.blockCachingFileTypes = null;
-    }
-  }
-
-  /**
-   * If a table is set to be readonly, that means that mutates through Thrift are NOT allowed.  However
-   * updates through MapReduce are allowed and in fact they are only allowed if the table is in readOnly mode.
-   */
-  public boolean isReadOnly() {
-    return this.readOnly;
-  }
-
-  /**
-   * If a table is set to be readonly, that means that mutates through Thrift are NOT allowed.  However
-   * updates through MapReduce are allowed and in fact they are only allowed if the table is in readOnly mode.
-   */
-  public TableDescriptor setReadOnly(boolean readOnly) {
-    this.readOnly = readOnly;
-    setReadOnlyIsSet(true);
-    return this;
-  }
-
-  public void unsetReadOnly() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __READONLY_ISSET_ID);
-  }
-
-  /** Returns true if field readOnly is set (has been assigned a value) and false otherwise */
-  public boolean isSetReadOnly() {
-    return EncodingUtils.testBit(__isset_bitfield, __READONLY_ISSET_ID);
-  }
-
-  public void setReadOnlyIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __READONLY_ISSET_ID, value);
-  }
-
-  /**
-   * Sets what column families and columns to prefetch into block cache on shard open.
-   */
-  public ColumnPreCache getColumnPreCache() {
-    return this.columnPreCache;
-  }
-
-  /**
-   * Sets what column families and columns to prefetch into block cache on shard open.
-   */
-  public TableDescriptor setColumnPreCache(ColumnPreCache columnPreCache) {
-    this.columnPreCache = columnPreCache;
-    return this;
-  }
-
-  public void unsetColumnPreCache() {
-    this.columnPreCache = null;
-  }
-
-  /** Returns true if field columnPreCache is set (has been assigned a value) and false otherwise */
-  public boolean isSetColumnPreCache() {
-    return this.columnPreCache != null;
-  }
-
-  public void setColumnPreCacheIsSet(boolean value) {
-    if (!value) {
-      this.columnPreCache = null;
-    }
-  }
-
-  public int getTablePropertiesSize() {
-    return (this.tableProperties == null) ? 0 : this.tableProperties.size();
-  }
-
-  public void putToTableProperties(String key, String val) {
-    if (this.tableProperties == null) {
-      this.tableProperties = new HashMap<String,String>();
-    }
-    this.tableProperties.put(key, val);
-  }
-
-  /**
-   * Properties, used to override default settings on a per table basis.
-   */
-  public Map<String,String> getTableProperties() {
-    return this.tableProperties;
-  }
-
-  /**
-   * Properties, used to override default settings on a per table basis.
-   */
-  public TableDescriptor setTableProperties(Map<String,String> tableProperties) {
-    this.tableProperties = tableProperties;
-    return this;
-  }
-
-  public void unsetTableProperties() {
-    this.tableProperties = null;
-  }
-
-  /** Returns true if field tableProperties is set (has been assigned a value) and false otherwise */
-  public boolean isSetTableProperties() {
-    return this.tableProperties != null;
-  }
-
-  public void setTablePropertiesIsSet(boolean value) {
-    if (!value) {
-      this.tableProperties = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case IS_ENABLED:
-      if (value == null) {
-        unsetIsEnabled();
-      } else {
-        setIsEnabled((Boolean)value);
-      }
-      break;
-
-    case ANALYZER_DEFINITION:
-      if (value == null) {
-        unsetAnalyzerDefinition();
-      } else {
-        setAnalyzerDefinition((AnalyzerDefinition)value);
-      }
-      break;
-
-    case SHARD_COUNT:
-      if (value == null) {
-        unsetShardCount();
-      } else {
-        setShardCount((Integer)value);
-      }
-      break;
-
-    case TABLE_URI:
-      if (value == null) {
-        unsetTableUri();
-      } else {
-        setTableUri((String)value);
-      }
-      break;
-
-    case COMPRESSION_CLASS:
-      if (value == null) {
-        unsetCompressionClass();
-      } else {
-        setCompressionClass((String)value);
-      }
-      break;
-
-    case COMPRESSION_BLOCK_SIZE:
-      if (value == null) {
-        unsetCompressionBlockSize();
-      } else {
-        setCompressionBlockSize((Integer)value);
-      }
-      break;
-
-    case CLUSTER:
-      if (value == null) {
-        unsetCluster();
-      } else {
-        setCluster((String)value);
-      }
-      break;
-
-    case NAME:
-      if (value == null) {
-        unsetName();
-      } else {
-        setName((String)value);
-      }
-      break;
-
-    case SIMILARITY_CLASS:
-      if (value == null) {
-        unsetSimilarityClass();
-      } else {
-        setSimilarityClass((String)value);
-      }
-      break;
-
-    case BLOCK_CACHING:
-      if (value == null) {
-        unsetBlockCaching();
-      } else {
-        setBlockCaching((Boolean)value);
-      }
-      break;
-
-    case BLOCK_CACHING_FILE_TYPES:
-      if (value == null) {
-        unsetBlockCachingFileTypes();
-      } else {
-        setBlockCachingFileTypes((Set<String>)value);
-      }
-      break;
-
-    case READ_ONLY:
-      if (value == null) {
-        unsetReadOnly();
-      } else {
-        setReadOnly((Boolean)value);
-      }
-      break;
-
-    case COLUMN_PRE_CACHE:
-      if (value == null) {
-        unsetColumnPreCache();
-      } else {
-        setColumnPreCache((ColumnPreCache)value);
-      }
-      break;
-
-    case TABLE_PROPERTIES:
-      if (value == null) {
-        unsetTableProperties();
-      } else {
-        setTableProperties((Map<String,String>)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case IS_ENABLED:
-      return Boolean.valueOf(isIsEnabled());
-
-    case ANALYZER_DEFINITION:
-      return getAnalyzerDefinition();
-
-    case SHARD_COUNT:
-      return Integer.valueOf(getShardCount());
-
-    case TABLE_URI:
-      return getTableUri();
-
-    case COMPRESSION_CLASS:
-      return getCompressionClass();
-
-    case COMPRESSION_BLOCK_SIZE:
-      return Integer.valueOf(getCompressionBlockSize());
-
-    case CLUSTER:
-      return getCluster();
-
-    case NAME:
-      return getName();
-
-    case SIMILARITY_CLASS:
-      return getSimilarityClass();
-
-    case BLOCK_CACHING:
-      return Boolean.valueOf(isBlockCaching());
-
-    case BLOCK_CACHING_FILE_TYPES:
-      return getBlockCachingFileTypes();
-
-    case READ_ONLY:
-      return Boolean.valueOf(isReadOnly());
-
-    case COLUMN_PRE_CACHE:
-      return getColumnPreCache();
-
-    case TABLE_PROPERTIES:
-      return getTableProperties();
-
-    }
-    throw new IllegalStateException();
-  }
-
-  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-  public boolean isSet(_Fields field) {
-    if (field == null) {
-      throw new IllegalArgumentException();
-    }
-
-    switch (field) {
-    case IS_ENABLED:
-      return isSetIsEnabled();
-    case ANALYZER_DEFINITION:
-      return isSetAnalyzerDefinition();
-    case SHARD_COUNT:
-      return isSetShardCount();
-    case TABLE_URI:
-      return isSetTableUri();
-    case COMPRESSION_CLASS:
-      return isSetCompressionClass();
-    case COMPRESSION_BLOCK_SIZE:
-      return isSetCompressionBlockSize();
-    case CLUSTER:
-      return isSetCluster();
-    case NAME:
-      return isSetName();
-    case SIMILARITY_CLASS:
-      return isSetSimilarityClass();
-    case BLOCK_CACHING:
-      return isSetBlockCaching();
-    case BLOCK_CACHING_FILE_TYPES:
-      return isSetBlockCachingFileTypes();
-    case READ_ONLY:
-      return isSetReadOnly();
-    case COLUMN_PRE_CACHE:
-      return isSetColumnPreCache();
-    case TABLE_PROPERTIES:
-      return isSetTableProperties();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof TableDescriptor)
-      return this.equals((TableDescriptor)that);
-    return false;
-  }
-
-  public boolean equals(TableDescriptor that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_isEnabled = true;
-    boolean that_present_isEnabled = true;
-    if (this_present_isEnabled || that_present_isEnabled) {
-      if (!(this_present_isEnabled && that_present_isEnabled))
-        return false;
-      if (this.isEnabled != that.isEnabled)
-        return false;
-    }
-
-    boolean this_present_analyzerDefinition = true && this.isSetAnalyzerDefinition();
-    boolean that_present_analyzerDefinition = true && that.isSetAnalyzerDefinition();
-    if (this_present_analyzerDefinition || that_present_analyzerDefinition) {
-      if (!(this_present_analyzerDefinition && that_present_analyzerDefinition))
-        return false;
-      if (!this.analyzerDefinition.equals(that.analyzerDefinition))
-        return false;
-    }
-
-    boolean this_present_shardCount = true;
-    boolean that_present_shardCount = true;
-    if (this_present_shardCount || that_present_shardCount) {
-      if (!(this_present_shardCount && that_present_shardCount))
-        return false;
-      if (this.shardCount != that.shardCount)
-        return false;
-    }
-
-    boolean this_present_tableUri = true && this.isSetTableUri();
-    boolean that_present_tableUri = true && that.isSetTableUri();
-    if (this_present_tableUri || that_present_tableUri) {
-      if (!(this_present_tableUri && that_present_tableUri))
-        return false;
-      if (!this.tableUri.equals(that.tableUri))
-        return false;
-    }
-
-    boolean this_present_compressionClass = true && this.isSetCompressionClass();
-    boolean that_present_compressionClass = true && that.isSetCompressionClass();
-    if (this_present_compressionClass || that_present_compressionClass) {
-      if (!(this_present_compressionClass && that_present_compressionClass))
-        return false;
-      if (!this.compressionClass.equals(that.compressionClass))
-        return false;
-    }
-
-    boolean this_present_compressionBlockSize = true;
-    boolean that_present_compressionBlockSize = true;
-    if (this_present_compressionBlockSize || that_present_compressionBlockSize) {
-      if (!(this_present_compressionBlockSize && that_present_compressionBlockSize))
-        return false;
-      if (this.compressionBlockSize != that.compressionBlockSize)
-        return false;
-    }
-
-    boolean this_present_cluster = true && this.isSetCluster();
-    boolean that_present_cluster = true && that.isSetCluster();
-    if (this_present_cluster || that_present_cluster) {
-      if (!(this_present_cluster && that_present_cluster))
-        return false;
-      if (!this.cluster.equals(that.cluster))
-        return false;
-    }
-
-    boolean this_present_name = true && this.isSetName();
-    boolean that_present_name = true && that.isSetName();
-    if (this_present_name || that_present_name) {
-      if (!(this_present_name && that_present_name))
-        return false;
-      if (!this.name.equals(that.name))
-        return false;
-    }
-
-    boolean this_present_similarityClass = true && this.isSetSimilarityClass();
-    boolean that_present_similarityClass = true && that.isSetSimilarityClass();
-    if (this_present_similarityClass || that_present_similarityClass) {
-      if (!(this_present_similarityClass && that_present_similarityClass))
-        return false;
-      if (!this.similarityClass.equals(that.similarityClass))
-        return false;
-    }
-
-    boolean this_present_blockCaching = true;
-    boolean that_present_blockCaching = true;
-    if (this_present_blockCaching || that_present_blockCaching) {
-      if (!(this_present_blockCaching && that_present_blockCaching))
-        return false;
-      if (this.blockCaching != that.blockCaching)
-        return false;
-    }
-
-    boolean this_present_blockCachingFileTypes = true && this.isSetBlockCachingFileTypes();
-    boolean that_present_blockCachingFileTypes = true && that.isSetBlockCachingFileTypes();
-    if (this_present_blockCachingFileTypes || that_present_blockCachingFileTypes) {
-      if (!(this_present_blockCachingFileTypes && that_present_blockCachingFileTypes))
-        return false;
-      if (!this.blockCachingFileTypes.equals(that.blockCachingFileTypes))
-        return false;
-    }
-
-    boolean this_present_readOnly = true;
-    boolean that_present_readOnly = true;
-    if (this_present_readOnly || that_present_readOnly) {
-      if (!(this_present_readOnly && that_present_readOnly))
-        return false;
-      if (this.readOnly != that.readOnly)
-        return false;
-    }
-
-    boolean this_present_columnPreCache = true && this.isSetColumnPreCache();
-    boolean that_present_columnPreCache = true && that.isSetColumnPreCache();
-    if (this_present_columnPreCache || that_present_columnPreCache) {
-      if (!(this_present_columnPreCache && that_present_columnPreCache))
-        return false;
-      if (!this.columnPreCache.equals(that.columnPreCache))
-        return false;
-    }
-
-    boolean this_present_tableProperties = true && this.isSetTableProperties();
-    boolean that_present_tableProperties = true && that.isSetTableProperties();
-    if (this_present_tableProperties || that_present_tableProperties) {
-      if (!(this_present_tableProperties && that_present_tableProperties))
-        return false;
-      if (!this.tableProperties.equals(that.tableProperties))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    return 0;
-  }
-
-  public int compareTo(TableDescriptor other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-    TableDescriptor typedOther = (TableDescriptor)other;
-
-    lastComparison = Boolean.valueOf(isSetIsEnabled()).compareTo(typedOther.isSetIsEnabled());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetIsEnabled()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isEnabled, typedOther.isEnabled);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetAnalyzerDefinition()).compareTo(typedOther.isSetAnalyzerDefinition());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetAnalyzerDefinition()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.analyzerDefinition, typedOther.analyzerDefinition);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetShardCount()).compareTo(typedOther.isSetShardCount());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetShardCount()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.shardCount, typedOther.shardCount);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetTableUri()).compareTo(typedOther.isSetTableUri());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetTableUri()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableUri, typedOther.tableUri);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetCompressionClass()).compareTo(typedOther.isSetCompressionClass());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetCompressionClass()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.compressionClass, typedOther.compressionClass);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetCompressionBlockSize()).compareTo(typedOther.isSetCompressionBlockSize());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetCompressionBlockSize()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.compressionBlockSize, typedOther.compressionBlockSize);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetCluster()).compareTo(typedOther.isSetCluster());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetCluster()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cluster, typedOther.cluster);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetName()).compareTo(typedOther.isSetName());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetName()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, typedOther.name);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetSimilarityClass()).compareTo(typedOther.isSetSimilarityClass());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetSimilarityClass()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.similarityClass, typedOther.similarityClass);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetBlockCaching()).compareTo(typedOther.isSetBlockCaching());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetBlockCaching()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.blockCaching, typedOther.blockCaching);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetBlockCachingFileTypes()).compareTo(typedOther.isSetBlockCachingFileTypes());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetBlockCachingFileTypes()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.blockCachingFileTypes, typedOther.blockCachingFileTypes);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetReadOnly()).compareTo(typedOther.isSetReadOnly());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetReadOnly()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.readOnly, typedOther.readOnly);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetColumnPreCache()).compareTo(typedOther.isSetColumnPreCache());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetColumnPreCache()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columnPreCache, typedOther.columnPreCache);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetTableProperties()).compareTo(typedOther.isSetTableProperties());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetTableProperties()) {
-      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableProperties, typedOther.tableProperties);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("TableDescriptor(");
-    boolean first = true;
-
-    sb.append("isEnabled:");
-    sb.append(this.isEnabled);
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("analyzerDefinition:");
-    if (this.analyzerDefinition == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.analyzerDefinition);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("shardCount:");
-    sb.append(this.shardCount);
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("tableUri:");
-    if (this.tableUri == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.tableUri);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("compressionClass:");
-    if (this.compressionClass == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.compressionClass);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("compressionBlockSize:");
-    sb.append(this.compressionBlockSize);
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("cluster:");
-    if (this.cluster == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.cluster);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("name:");
-    if (this.name == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.name);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("similarityClass:");
-    if (this.similarityClass == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.similarityClass);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("blockCaching:");
-    sb.append(this.blockCaching);
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("blockCachingFileTypes:");
-    if (this.blockCachingFileTypes == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.blockCachingFileTypes);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("readOnly:");
-    sb.append(this.readOnly);
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("columnPreCache:");
-    if (this.columnPreCache == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.columnPreCache);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("tableProperties:");
-    if (this.tableProperties == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.tableProperties);
-    }
-    first = false;
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift.TException {
-    // check for required fields
-    // check for sub-struct validity
-    if (analyzerDefinition != null) {
-      analyzerDefinition.validate();
-    }
-    if (columnPreCache != null) {
-      columnPreCache.validate();
-    }
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-      __isset_bitfield = 0;
-      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private static class TableDescriptorStandardSchemeFactory implements SchemeFactory {
-    public TableDescriptorStandardScheme getScheme() {
-      return new TableDescriptorStandardScheme();
-    }
-  }
-
-  private static class TableDescriptorStandardScheme extends StandardScheme<TableDescriptor> {
-
-    public void read(org.apache.thrift.protocol.TProtocol iprot, TableDescriptor struct) throws org.apache.thrift.TException {
-      org.apache.thrift.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // IS_ENABLED
-            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
-              struct.isEnabled = iprot.readBool();
-              struct.setIsEnabledIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // ANALYZER_DEFINITION
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
-              struct.analyzerDefinition = new AnalyzerDefinition();
-              struct.analyzerDefinition.read(iprot);
-              struct.setAnalyzerDefinitionIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 3: // SHARD_COUNT
-            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.shardCount = iprot.readI32();
-              struct.setShardCountIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 4: // TABLE_URI
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.tableUri = iprot.readString();
-              struct.setTableUriIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 5: // COMPRESSION_CLASS
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.compressionClass = iprot.readString();
-              struct.setCompressionClassIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 6: // COMPRESSION_BLOCK_SIZE
-            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
-              struct.compressionBlockSize = iprot.readI32();
-              struct.setCompressionBlockSizeIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 7: // CLUSTER
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.cluster = iprot.readString();
-              struct.setClusterIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 8: // NAME
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.name = iprot.readString();
-              struct.setNameIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 9: // SIMILARITY_CLASS
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
-              struct.similarityClass = iprot.readString();
-              struct.setSimilarityClassIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 10: // BLOCK_CACHING
-            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
-              struct.blockCaching = iprot.readBool();
-              struct.setBlockCachingIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 11: // BLOCK_CACHING_FILE_TYPES
-            if (schemeField.type == org.apache.thrift.protocol.TType.SET) {
-              {
-                org.apache.thrift.protocol.TSet _set158 = iprot.readSetBegin();
-                struct.blockCachingFileTypes = new HashSet<String>(2*_set158.size);
-                for (int _i159 = 0; _i159 < _set158.size; ++_i159)
-                {
-                  String _elem160; // required
-                  _elem160 = iprot.readString();
-                  struct.blockCachingFileTypes.add(_elem160);
-                }
-                iprot.readSetEnd();
-              }
-              struct.setBlockCachingFileTypesIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 12: // READ_ONLY
-            if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
-              struct.readOnly = iprot.readBool();
-              struct.setReadOnlyIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 13: // COLUMN_PRE_CACHE
-            if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
-              struct.columnPreCache = new ColumnPreCache();
-              struct.columnPreCache.read(iprot);
-              struct.setColumnPreCacheIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 14: // TABLE_PROPERTIES
-            if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
-              {
-                org.apache.thrift.protocol.TMap _map161 = iprot.readMapBegin();
-                struct.tableProperties = new HashMap<String,String>(2*_map161.size);
-                for (int _i162 = 0; _i162 < _map161.size; ++_i162)
-                {
-                  String _key163; // required
-                  String _val164; // optional
-                  _key163 = iprot.readString();
-                  _val164 = iprot.readString();
-                  struct.tableProperties.put(_key163, _val164);
-                }
-                iprot.readMapEnd();
-              }
-              struct.setTablePropertiesIsSet(true);
-            } else { 
-              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-        }
-        iprot.readFieldEnd();
-      }
-      iprot.readStructEnd();
-
-      // check for required fields of primitive type, which can't be checked in the validate method
-      struct.validate();
-    }
-
-    public void write(org.apache.thrift.protocol.TProtocol oprot, TableDescriptor struct) throws org.apache.thrift.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      oprot.writeFieldBegin(IS_ENABLED_FIELD_DESC);
-      oprot.writeBool(struct.isEnabled);
-      oprot.writeFieldEnd();
-      if (struct.analyzerDefinition != null) {
-        oprot.writeFieldBegin(ANALYZER_DEFINITION_FIELD_DESC);
-        struct.analyzerDefinition.write(oprot);
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldBegin(SHARD_COUNT_FIELD_DESC);
-      oprot.writeI32(struct.shardCount);
-      oprot.writeFieldEnd();
-      if (struct.tableUri != null) {
-        oprot.writeFieldBegin(TABLE_URI_FIELD_DESC);
-        oprot.writeString(struct.tableUri);
-        oprot.writeFieldEnd();
-      }
-      if (struct.compressionClass != null) {
-        oprot.writeFieldBegin(COMPRESSION_CLASS_FIELD_DESC);
-        oprot.writeString(struct.compressionClass);
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldBegin(COMPRESSION_BLOCK_SIZE_FIELD_DESC);
-      oprot.writeI32(struct.compressionBlockSize);
-      oprot.writeFieldEnd();
-      if (struct.cluster != null) {
-        oprot.writeFieldBegin(CLUSTER_FIELD_DESC);
-        oprot.writeString(struct.cluster);
-        oprot.writeFieldEnd();
-      }
-      if (struct.name != null) {
-        oprot.writeFieldBegin(NAME_FIELD_DESC);
-        oprot.writeString(struct.name);
-        oprot.writeFieldEnd();
-      }
-      if (struct.similarityClass != null) {
-        oprot.writeFieldBegin(SIMILARITY_CLASS_FIELD_DESC);
-        oprot.writeString(struct.similarityClass);
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldBegin(BLOCK_CACHING_FIELD_DESC);
-      oprot.writeBool(struct.blockCaching);
-      oprot.writeFieldEnd();
-      if (struct.blockCachingFileTypes != null) {
-        oprot.writeFieldBegin(BLOCK_CACHING_FILE_TYPES_FIELD_DESC);
-        {
-          oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, struct.blockCachingFileTypes.size()));
-          for (String _iter165 : struct.blockCachingFileTypes)
-          {
-            oprot.writeString(_iter165);
-          }
-          oprot.writeSetEnd();
-        }
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldBegin(READ_ONLY_FIELD_DESC);
-      oprot.writeBool(struct.readOnly);
-      oprot.writeFieldEnd();
-      if (struct.columnPreCache != null) {
-        oprot.writeFieldBegin(COLUMN_PRE_CACHE_FIELD_DESC);
-        struct.columnPreCache.write(oprot);
-        oprot.writeFieldEnd();
-      }
-      if (struct.tableProperties != null) {
-        oprot.writeFieldBegin(TABLE_PROPERTIES_FIELD_DESC);
-        {
-          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.tableProperties.size()));
-          for (Map.Entry<String, String> _iter166 : struct.tableProperties.entrySet())
-          {
-            oprot.writeString(_iter166.getKey());
-            oprot.writeString(_iter166.getValue());
-          }
-          oprot.writeMapEnd();
-        }
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class TableDescriptorTupleSchemeFactory implements SchemeFactory {
-    public TableDescriptorTupleScheme getScheme() {
-      return new TableDescriptorTupleScheme();
-    }
-  }
-
-  private static class TableDescriptorTupleScheme extends TupleScheme<TableDescriptor> {
-
-    @Override
-    public void write(org.apache.thrift.protocol.TProtocol prot, TableDescriptor struct) throws org.apache.thrift.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      BitSet optionals = new BitSet();
-      if (struct.isSetIsEnabled()) {
-        optionals.set(0);
-      }
-      if (struct.isSetAnalyzerDefinition()) {
-        optionals.set(1);
-      }
-      if (struct.isSetShardCount()) {
-        optionals.set(2);
-      }
-      if (struct.isSetTableUri()) {
-        optionals.set(3);
-      }
-      if (struct.isSetCompressionClass()) {
-        optionals.set(4);
-      }
-      if (struct.isSetCompressionBlockSize()) {
-        optionals.set(5);
-      }
-      if (struct.isSetCluster()) {
-        optionals.set(6);
-      }
-      if (struct.isSetName()) {
-        optionals.set(7);
-      }
-      if (struct.isSetSimilarityClass()) {
-        optionals.set(8);
-      }
-      if (struct.isSetBlockCaching()) {
-        optionals.set(9);
-      }
-      if (struct.isSetBlockCachingFileTypes()) {
-        optionals.set(10);
-      }
-      if (struct.isSetReadOnly()) {
-        optionals.set(11);
-      }
-      if (struct.isSetColumnPreCache()) {
-        optionals.set(12);
-      }
-      if (struct.isSetTableProperties()) {
-        optionals.set(13);
-      }
-      oprot.writeBitSet(optionals, 14);
-      if (struct.isSetIsEnabled()) {
-        oprot.writeBool(struct.isEnabled);
-      }
-      if (struct.isSetAnalyzerDefinition()) {
-        struct.analyzerDefinition.write(oprot);
-      }
-      if (struct.isSetShardCount()) {
-        oprot.writeI32(struct.shardCount);
-      }
-      if (struct.isSetTableUri()) {
-        oprot.writeString(struct.tableUri);
-      }
-      if (struct.isSetCompressionClass()) {
-        oprot.writeString(struct.compressionClass);
-      }
-      if (struct.isSetCompressionBlockSize()) {
-        oprot.writeI32(struct.compressionBlockSize);
-      }
-      if (struct.isSetCluster()) {
-        oprot.writeString(struct.cluster);
-      }
-      if (struct.isSetName()) {
-        oprot.writeString(struct.name);
-      }
-      if (struct.isSetSimilarityClass()) {
-        oprot.writeString(struct.similarityClass);
-      }
-      if (struct.isSetBlockCaching()) {
-        oprot.writeBool(struct.blockCaching);
-      }
-      if (struct.isSetBlockCachingFileTypes()) {
-        {
-          oprot.writeI32(struct.blockCachingFileTypes.size());
-          for (String _iter167 : struct.blockCachingFileTypes)
-          {
-            oprot.writeString(_iter167);
-          }
-        }
-      }
-      if (struct.isSetReadOnly()) {
-        oprot.writeBool(struct.readOnly);
-      }
-      if (struct.isSetColumnPreCache()) {
-        struct.columnPreCache.write(oprot);
-      }
-      if (struct.isSetTableProperties()) {
-        {
-          oprot.writeI32(struct.tableProperties.size());
-          for (Map.Entry<String, String> _iter168 : struct.tableProperties.entrySet())
-          {
-            oprot.writeString(_iter168.getKey());
-            oprot.writeString(_iter168.getValue());
-          }
-        }
-      }
-    }
-
-    @Override
-    public void read(org.apache.thrift.protocol.TProtocol prot, TableDescriptor struct) throws org.apache.thrift.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      BitSet incoming = iprot.readBitSet(14);
-      if (incoming.get(0)) {
-        struct.isEnabled = iprot.readBool();
-        struct.setIsEnabledIsSet(true);
-      }
-      if (incoming.get(1)) {
-        struct.analyzerDefinition = new AnalyzerDefinition();
-        struct.analyzerDefinition.read(iprot);
-        struct.setAnalyzerDefinitionIsSet(true);
-      }
-      if (incoming.get(2)) {
-        struct.shardCount = iprot.readI32();
-        struct.setShardCountIsSet(true);
-      }
-      if (incoming.get(3)) {
-        struct.tableUri = iprot.readString();
-        struct.setTableUriIsSet(true);
-      }
-      if (incoming.get(4)) {
-        struct.compressionClass = iprot.readString();
-        struct.setCompressionClassIsSet(true);
-      }
-      if (incoming.get(5)) {
-        struct.compressionBlockSize = iprot.readI32();
-        struct.setCompressionBlockSizeIsSet(true);
-      }
-      if (incoming.get(6)) {
-        struct.cluster = iprot.readString();
-        struct.setClusterIsSet(true);
-      }
-      if (incoming.get(7)) {
-        struct.name = iprot.readString();
-        struct.setNameIsSet(true);
-      }
-      if (incoming.get(8)) {
-        struct.similarityClass = iprot.readString();
-        struct.setSimilarityClassIsSet(true);
-      }
-      if (incoming.get(9)) {
-        struct.blockCaching = iprot.readBool();
-        struct.setBlockCachingIsSet(true);
-      }
-      if (incoming.get(10)) {
-        {
-          org.apache.thrift.protocol.TSet _set169 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
-          struct.blockCachingFileTypes = new HashSet<String>(2*_set169.size);
-          for (int _i170 = 0; _i170 < _set169.size; ++_i170)
-          {
-            String _elem171; // required
-            _elem171 = iprot.readString();
-            struct.blockCachingFileTypes.add(_elem171);
-          }
-        }
-        struct.setBlockCachingFileTypesIsSet(true);
-      }
-      if (incoming.get(11)) {
-        struct.readOnly = iprot.readBool();
-        struct.setReadOnlyIsSet(true);
-      }
-      if (incoming.get(12)) {
-        struct.columnPreCache = new ColumnPreCache();
-        struct.columnPreCache.read(iprot);
-        struct.setColumnPreCacheIsSet(true);
-      }
-      if (incoming.get(13)) {
-        {
-          org.apache.thrift.protocol.TMap _map172 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
-          struct.tableProperties = new HashMap<String,String>(2*_map172.size);
-          for (int _i173 = 0; _i173 < _map172.size; ++_i173)
-          {
-            String _key174; // required
-            String _val175; // optional
-            _key174 = iprot.readString();
-            _val175 = iprot.readString();
-            struct.tableProperties.put(_key174, _val175);
-          }
-        }
-        struct.setTablePropertiesIsSet(true);
-      }
-    }
-  }
-
-}
-


Mime
View raw message