Пример #1
0
 @Override
 public int compareTo(Grouping other) {
   int lastComparison =
       org.apache.thrift.TBaseHelper.compareTo(getSetField(), other.getSetField());
   if (lastComparison == 0) {
     return org.apache.thrift.TBaseHelper.compareTo(getFieldValue(), other.getFieldValue());
   }
   return lastComparison;
 }
Пример #2
0
 public static Grouping local_or_shuffle(NullStruct value) {
   Grouping x = new Grouping();
   x.set_local_or_shuffle(value);
   return x;
 }
Пример #3
0
 public boolean equals(Grouping other) {
   return other != null
       && getSetField() == other.getSetField()
       && getFieldValue().equals(other.getFieldValue());
 }
Пример #4
0
 public static Grouping custom_serialized(ByteBuffer value) {
   Grouping x = new Grouping();
   x.set_custom_serialized(value);
   return x;
 }
Пример #5
0
 public static Grouping custom_serialized(byte[] value) {
   Grouping x = new Grouping();
   x.set_custom_serialized(ByteBuffer.wrap(Arrays.copyOf(value, value.length)));
   return x;
 }
Пример #6
0
 public static Grouping custom_object(JavaObject value) {
   Grouping x = new Grouping();
   x.set_custom_object(value);
   return x;
 }
Пример #7
0
 public static Grouping direct(NullStruct value) {
   Grouping x = new Grouping();
   x.set_direct(value);
   return x;
 }
Пример #8
0
 public static Grouping none(NullStruct value) {
   Grouping x = new Grouping();
   x.set_none(value);
   return x;
 }
Пример #9
0
 public static Grouping all(NullStruct value) {
   Grouping x = new Grouping();
   x.set_all(value);
   return x;
 }
Пример #10
0
 public static Grouping fields(List<String> value) {
   Grouping x = new Grouping();
   x.set_fields(value);
   return x;
 }