http://git-wip-us.apache.org/repos/asf/accumulo/blob/011c1760/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/TabletStats.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/TabletStats.java b/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/TabletStats.java index c608917..8989fe5 100644 --- a/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/TabletStats.java +++ b/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/TabletStats.java @@ -15,7 +15,7 @@ * limitations under the License. */ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -31,6 +31,8 @@ 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; @@ -46,7 +48,7 @@ import java.util.Arrays; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -@SuppressWarnings("all") public class TabletStats implements org.apache.thrift.TBase<TabletStats, TabletStats._Fields>, java.io.Serializable, Cloneable { +@SuppressWarnings("all") public class TabletStats implements org.apache.thrift.TBase<TabletStats, TabletStats._Fields>, java.io.Serializable, Cloneable, Comparable<TabletStats> { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TabletStats"); private static final org.apache.thrift.protocol.TField EXTENT_FIELD_DESC = new org.apache.thrift.protocol.TField("extent", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -659,90 +661,90 @@ import org.slf4j.LoggerFactory; return 0; } + @Override public int compareTo(TabletStats other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TabletStats typedOther = (TabletStats)other; - lastComparison = Boolean.valueOf(isSetExtent()).compareTo(typedOther.isSetExtent()); + lastComparison = Boolean.valueOf(isSetExtent()).compareTo(other.isSetExtent()); if (lastComparison != 0) { return lastComparison; } if (isSetExtent()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.extent, typedOther.extent); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.extent, other.extent); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMajors()).compareTo(typedOther.isSetMajors()); + lastComparison = Boolean.valueOf(isSetMajors()).compareTo(other.isSetMajors()); if (lastComparison != 0) { return lastComparison; } if (isSetMajors()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.majors, typedOther.majors); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.majors, other.majors); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMinors()).compareTo(typedOther.isSetMinors()); + lastComparison = Boolean.valueOf(isSetMinors()).compareTo(other.isSetMinors()); if (lastComparison != 0) { return lastComparison; } if (isSetMinors()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.minors, typedOther.minors); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.minors, other.minors); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetSplits()).compareTo(typedOther.isSetSplits()); + lastComparison = Boolean.valueOf(isSetSplits()).compareTo(other.isSetSplits()); if (lastComparison != 0) { return lastComparison; } if (isSetSplits()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.splits, typedOther.splits); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.splits, other.splits); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetNumEntries()).compareTo(typedOther.isSetNumEntries()); + lastComparison = Boolean.valueOf(isSetNumEntries()).compareTo(other.isSetNumEntries()); if (lastComparison != 0) { return lastComparison; } if (isSetNumEntries()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numEntries, typedOther.numEntries); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numEntries, other.numEntries); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetIngestRate()).compareTo(typedOther.isSetIngestRate()); + lastComparison = Boolean.valueOf(isSetIngestRate()).compareTo(other.isSetIngestRate()); if (lastComparison != 0) { return lastComparison; } if (isSetIngestRate()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ingestRate, typedOther.ingestRate); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ingestRate, other.ingestRate); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetQueryRate()).compareTo(typedOther.isSetQueryRate()); + lastComparison = Boolean.valueOf(isSetQueryRate()).compareTo(other.isSetQueryRate()); if (lastComparison != 0) { return lastComparison; } if (isSetQueryRate()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.queryRate, typedOther.queryRate); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.queryRate, other.queryRate); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetSplitCreationTime()).compareTo(typedOther.isSetSplitCreationTime()); + lastComparison = Boolean.valueOf(isSetSplitCreationTime()).compareTo(other.isSetSplitCreationTime()); if (lastComparison != 0) { return lastComparison; } if (isSetSplitCreationTime()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.splitCreationTime, typedOther.splitCreationTime); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.splitCreationTime, other.splitCreationTime); if (lastComparison != 0) { return lastComparison; }
http://git-wip-us.apache.org/repos/asf/accumulo/blob/011c1760/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/TooManyFilesException.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/TooManyFilesException.java b/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/TooManyFilesException.java index 27afbbc..cc4c3e8 100644 --- a/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/TooManyFilesException.java +++ b/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/TooManyFilesException.java @@ -15,7 +15,7 @@ * limitations under the License. */ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -31,6 +31,8 @@ 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; @@ -46,7 +48,7 @@ import java.util.Arrays; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -@SuppressWarnings("all") public class TooManyFilesException extends TException implements org.apache.thrift.TBase<TooManyFilesException, TooManyFilesException._Fields>, java.io.Serializable, Cloneable { +@SuppressWarnings("all") public class TooManyFilesException extends TException implements org.apache.thrift.TBase<TooManyFilesException, TooManyFilesException._Fields>, java.io.Serializable, Cloneable, Comparable<TooManyFilesException> { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TooManyFilesException"); private static final org.apache.thrift.protocol.TField EXTENT_FIELD_DESC = new org.apache.thrift.protocol.TField("extent", org.apache.thrift.protocol.TType.STRUCT, (short)1); @@ -244,20 +246,20 @@ import org.slf4j.LoggerFactory; return 0; } + @Override public int compareTo(TooManyFilesException other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - TooManyFilesException typedOther = (TooManyFilesException)other; - lastComparison = Boolean.valueOf(isSetExtent()).compareTo(typedOther.isSetExtent()); + lastComparison = Boolean.valueOf(isSetExtent()).compareTo(other.isSetExtent()); if (lastComparison != 0) { return lastComparison; } if (isSetExtent()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.extent, typedOther.extent); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.extent, other.extent); if (lastComparison != 0) { return lastComparison; } http://git-wip-us.apache.org/repos/asf/accumulo/blob/011c1760/proxy/src/main/cpp/AccumuloProxy.cpp ---------------------------------------------------------------------- diff --git a/proxy/src/main/cpp/AccumuloProxy.cpp b/proxy/src/main/cpp/AccumuloProxy.cpp index d700ed4..083c3ca 100644 --- a/proxy/src/main/cpp/AccumuloProxy.cpp +++ b/proxy/src/main/cpp/AccumuloProxy.cpp @@ -15,7 +15,7 @@ * limitations under the License. */ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated http://git-wip-us.apache.org/repos/asf/accumulo/blob/011c1760/proxy/src/main/cpp/AccumuloProxy.h ---------------------------------------------------------------------- diff --git a/proxy/src/main/cpp/AccumuloProxy.h b/proxy/src/main/cpp/AccumuloProxy.h index 6a5db22..e9b7769 100644 --- a/proxy/src/main/cpp/AccumuloProxy.h +++ b/proxy/src/main/cpp/AccumuloProxy.h @@ -15,7 +15,7 @@ * limitations under the License. */ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated http://git-wip-us.apache.org/repos/asf/accumulo/blob/011c1760/proxy/src/main/cpp/proxy_constants.cpp ---------------------------------------------------------------------- diff --git a/proxy/src/main/cpp/proxy_constants.cpp b/proxy/src/main/cpp/proxy_constants.cpp index 960af82..39a574e 100644 --- a/proxy/src/main/cpp/proxy_constants.cpp +++ b/proxy/src/main/cpp/proxy_constants.cpp @@ -15,7 +15,7 @@ * limitations under the License. */ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated http://git-wip-us.apache.org/repos/asf/accumulo/blob/011c1760/proxy/src/main/cpp/proxy_constants.h ---------------------------------------------------------------------- diff --git a/proxy/src/main/cpp/proxy_constants.h b/proxy/src/main/cpp/proxy_constants.h index 7c9a50b..8f789c6 100644 --- a/proxy/src/main/cpp/proxy_constants.h +++ b/proxy/src/main/cpp/proxy_constants.h @@ -15,7 +15,7 @@ * limitations under the License. */ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated http://git-wip-us.apache.org/repos/asf/accumulo/blob/011c1760/proxy/src/main/cpp/proxy_types.cpp ---------------------------------------------------------------------- diff --git a/proxy/src/main/cpp/proxy_types.cpp b/proxy/src/main/cpp/proxy_types.cpp index 54694bb..d472402 100644 --- a/proxy/src/main/cpp/proxy_types.cpp +++ b/proxy/src/main/cpp/proxy_types.cpp @@ -15,7 +15,7 @@ * limitations under the License. */ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated http://git-wip-us.apache.org/repos/asf/accumulo/blob/011c1760/proxy/src/main/cpp/proxy_types.h ---------------------------------------------------------------------- diff --git a/proxy/src/main/cpp/proxy_types.h b/proxy/src/main/cpp/proxy_types.h index aec9f2b..c320d39 100644 --- a/proxy/src/main/cpp/proxy_types.h +++ b/proxy/src/main/cpp/proxy_types.h @@ -15,7 +15,7 @@ * limitations under the License. */ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -28,6 +28,7 @@ #include <thrift/protocol/TProtocol.h> #include <thrift/transport/TTransport.h> +#include <thrift/cxxfunctional.h> namespace accumulo { http://git-wip-us.apache.org/repos/asf/accumulo/blob/011c1760/proxy/src/main/java/org/apache/accumulo/proxy/thrift/AccumuloException.java ---------------------------------------------------------------------- diff --git a/proxy/src/main/java/org/apache/accumulo/proxy/thrift/AccumuloException.java b/proxy/src/main/java/org/apache/accumulo/proxy/thrift/AccumuloException.java index 8f70fb3..0be034c 100644 --- a/proxy/src/main/java/org/apache/accumulo/proxy/thrift/AccumuloException.java +++ b/proxy/src/main/java/org/apache/accumulo/proxy/thrift/AccumuloException.java @@ -15,7 +15,7 @@ * limitations under the License. */ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -31,6 +31,8 @@ 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; @@ -46,7 +48,7 @@ import java.util.Arrays; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -@SuppressWarnings("all") public class AccumuloException extends TException implements org.apache.thrift.TBase<AccumuloException, AccumuloException._Fields>, java.io.Serializable, Cloneable { +@SuppressWarnings("all") public class AccumuloException extends TException implements org.apache.thrift.TBase<AccumuloException, AccumuloException._Fields>, java.io.Serializable, Cloneable, Comparable<AccumuloException> { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("AccumuloException"); private static final org.apache.thrift.protocol.TField MSG_FIELD_DESC = new org.apache.thrift.protocol.TField("msg", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -244,20 +246,20 @@ import org.slf4j.LoggerFactory; return 0; } + @Override public int compareTo(AccumuloException other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - AccumuloException typedOther = (AccumuloException)other; - lastComparison = Boolean.valueOf(isSetMsg()).compareTo(typedOther.isSetMsg()); + lastComparison = Boolean.valueOf(isSetMsg()).compareTo(other.isSetMsg()); if (lastComparison != 0) { return lastComparison; } if (isSetMsg()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.msg, typedOther.msg); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.msg, other.msg); if (lastComparison != 0) { return lastComparison; }