http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/7facf5a2/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/MutateOptions.java ---------------------------------------------------------------------- diff --git a/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/MutateOptions.java b/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/MutateOptions.java index 1367bc8..61cadf8 100644 --- a/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/MutateOptions.java +++ b/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/MutateOptions.java @@ -63,16 +63,40 @@ public class MutateOptions implements org.apache.thrift.TBase<MutateOptions, Mut schemes.put(TupleScheme.class, new MutateOptionsTupleSchemeFactory()); } + /** + * + */ public String table; // required + /** + * + */ public int shardIndex; // required + /** + * + */ public boolean waitToBeVisible; // required + /** + * + */ public boolean writeAheadLog; // 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 { + /** + * + */ TABLE((short)1, "table"), + /** + * + */ SHARD_INDEX((short)2, "shardIndex"), + /** + * + */ WAIT_TO_BE_VISIBLE((short)3, "waitToBeVisible"), + /** + * + */ WRITE_AHEAD_LOG((short)4, "writeAheadLog"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); @@ -202,10 +226,16 @@ public class MutateOptions implements org.apache.thrift.TBase<MutateOptions, Mut this.writeAheadLog = false; } + /** + * + */ public String getTable() { return this.table; } + /** + * + */ public MutateOptions setTable(String table) { this.table = table; return this; @@ -226,10 +256,16 @@ public class MutateOptions implements org.apache.thrift.TBase<MutateOptions, Mut } } + /** + * + */ public int getShardIndex() { return this.shardIndex; } + /** + * + */ public MutateOptions setShardIndex(int shardIndex) { this.shardIndex = shardIndex; setShardIndexIsSet(true); @@ -249,10 +285,16 @@ public class MutateOptions implements org.apache.thrift.TBase<MutateOptions, Mut __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SHARDINDEX_ISSET_ID, value); } + /** + * + */ public boolean isWaitToBeVisible() { return this.waitToBeVisible; } + /** + * + */ public MutateOptions setWaitToBeVisible(boolean waitToBeVisible) { this.waitToBeVisible = waitToBeVisible; setWaitToBeVisibleIsSet(true); @@ -272,10 +314,16 @@ public class MutateOptions implements org.apache.thrift.TBase<MutateOptions, Mut __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __WAITTOBEVISIBLE_ISSET_ID, value); } + /** + * + */ public boolean isWriteAheadLog() { return this.writeAheadLog; } + /** + * + */ public MutateOptions setWriteAheadLog(boolean writeAheadLog) { this.writeAheadLog = writeAheadLog; setWriteAheadLogIsSet(true);
http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/7facf5a2/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/Term.java ---------------------------------------------------------------------- diff --git a/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/Term.java b/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/Term.java index f13f05c..ee66f99 100644 --- a/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/Term.java +++ b/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/Term.java @@ -61,12 +61,24 @@ public class Term implements org.apache.thrift.TBase<Term, Term._Fields>, java.i schemes.put(TupleScheme.class, new TermTupleSchemeFactory()); } + /** + * + */ public String field; // required + /** + * + */ public ByteBuffer bytes; // 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 { + /** + * + */ FIELD((short)1, "field"), + /** + * + */ BYTES((short)2, "bytes"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); @@ -172,10 +184,16 @@ public class Term implements org.apache.thrift.TBase<Term, Term._Fields>, java.i this.bytes = null; } + /** + * + */ public String getField() { return this.field; } + /** + * + */ public Term setField(String field) { this.field = field; return this; @@ -196,6 +214,9 @@ public class Term implements org.apache.thrift.TBase<Term, Term._Fields>, java.i } } + /** + * + */ public byte[] getBytes() { setBytes(org.apache.thrift.TBaseHelper.rightSize(bytes)); return bytes == null ? null : bytes.array(); @@ -205,6 +226,9 @@ public class Term implements org.apache.thrift.TBase<Term, Term._Fields>, java.i return bytes; } + /** + * + */ public Term setBytes(byte[] bytes) { setBytes(bytes == null ? (ByteBuffer)null : ByteBuffer.wrap(bytes)); return this; http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/7facf5a2/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/UpdatePackage.java ---------------------------------------------------------------------- diff --git a/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/UpdatePackage.java b/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/UpdatePackage.java index 1ed0d98..a3d6b91 100644 --- a/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/UpdatePackage.java +++ b/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/UpdatePackage.java @@ -61,12 +61,24 @@ public class UpdatePackage implements org.apache.thrift.TBase<UpdatePackage, Upd schemes.put(TupleScheme.class, new UpdatePackageTupleSchemeFactory()); } + /** + * + */ public Term term; // required + /** + * + */ public List<Document> documents; // 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 { + /** + * + */ TERM((short)1, "term"), + /** + * + */ DOCUMENTS((short)2, "documents"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); @@ -176,10 +188,16 @@ public class UpdatePackage implements org.apache.thrift.TBase<UpdatePackage, Upd this.documents = null; } + /** + * + */ public Term getTerm() { return this.term; } + /** + * + */ public UpdatePackage setTerm(Term term) { this.term = term; return this; @@ -215,10 +233,16 @@ public class UpdatePackage implements org.apache.thrift.TBase<UpdatePackage, Upd this.documents.add(elem); } + /** + * + */ public List<Document> getDocuments() { return this.documents; } + /** + * + */ public UpdatePackage setDocuments(List<Document> documents) { this.documents = documents; return this;
