}
}
@Override
public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot, TableDescriptor struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(15);
if (incoming.get(0)) {
struct.enabled = iprot.readBool();
struct.setEnabledIsSet(true);
}
if (incoming.get(1)) {
struct.shardCount = iprot.readI32();
struct.setShardCountIsSet(true);
}
if (incoming.get(2)) {
struct.tableUri = iprot.readString();
struct.setTableUriIsSet(true);
}
if (incoming.get(3)) {
struct.cluster = iprot.readString();
struct.setClusterIsSet(true);
}
if (incoming.get(4)) {
struct.name = iprot.readString();
struct.setNameIsSet(true);
}
if (incoming.get(5)) {
struct.similarityClass = iprot.readString();
struct.setSimilarityClassIsSet(true);
}
if (incoming.get(6)) {
struct.blockCaching = iprot.readBool();
struct.setBlockCachingIsSet(true);
}
if (incoming.get(7)) {
{
org.apache.blur.thirdparty.thrift_0_9_0.protocol.TSet _set154 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TSet(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
struct.blockCachingFileTypes = new HashSet<String>(2*_set154.size);
for (int _i155 = 0; _i155 < _set154.size; ++_i155)
{
String _elem156; // required
_elem156 = iprot.readString();
struct.blockCachingFileTypes.add(_elem156);
}
}
struct.setBlockCachingFileTypesIsSet(true);
}
if (incoming.get(8)) {
struct.readOnly = iprot.readBool();
struct.setReadOnlyIsSet(true);
}
if (incoming.get(9)) {
{
org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list157 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
struct.preCacheCols = new ArrayList<String>(_list157.size);
for (int _i158 = 0; _i158 < _list157.size; ++_i158)
{
String _elem159; // required
_elem159 = iprot.readString();
struct.preCacheCols.add(_elem159);
}
}
struct.setPreCacheColsIsSet(true);
}
if (incoming.get(10)) {
{
org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map160 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
struct.tableProperties = new HashMap<String,String>(2*_map160.size);
for (int _i161 = 0; _i161 < _map160.size; ++_i161)
{
String _key162; // required
String _val163; // optional
_key162 = iprot.readString();
_val163 = iprot.readString();
struct.tableProperties.put(_key162, _val163);
}
}
struct.setTablePropertiesIsSet(true);
}
if (incoming.get(11)) {
struct.strictTypes = iprot.readBool();
struct.setStrictTypesIsSet(true);
}
if (incoming.get(12)) {
struct.defaultMissingFieldType = iprot.readString();
struct.setDefaultMissingFieldTypeIsSet(true);
}
if (incoming.get(13)) {
struct.defaultMissingFieldLessIndexing = iprot.readBool();
struct.setDefaultMissingFieldLessIndexingIsSet(true);
}
if (incoming.get(14)) {
{
org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map164 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
struct.defaultMissingFieldProps = new HashMap<String,String>(2*_map164.size);
for (int _i165 = 0; _i165 < _map164.size; ++_i165)
{
String _key166; // required
String _val167; // optional
_key166 = iprot.readString();
_val167 = iprot.readString();
struct.defaultMissingFieldProps.put(_key166, _val167);
}
}
struct.setDefaultMissingFieldPropsIsSet(true);
}