Package org.apache.flink.api.common.typeutils.base

Examples of org.apache.flink.api.common.typeutils.base.IntComparator


  @Override
  protected TupleComparator<Tuple3<Integer, Long, Double>> createComparator(boolean ascending) {
    return new TupleComparator<Tuple3<Integer, Long, Double>>(
        new int[]{0, 1, 2},
        new TypeComparator[]{
          new IntComparator(ascending),
          new LongComparator(ascending),
          new DoubleComparator(ascending)
        },
    new TypeSerializer[]{ IntSerializer.INSTANCE, LongSerializer.INSTANCE, DoubleSerializer.INSTANCE });
  }
View Full Code Here

TOP

Related Classes of org.apache.flink.api.common.typeutils.base.IntComparator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.