Package org.apache.flink.types
Class RowUtils
- java.lang.Object
-
- org.apache.flink.types.RowUtils
-
@PublicEvolving public final class RowUtils extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static booleanUSE_LEGACY_TO_STRINGInternal flag to enable the legacyRow.toString()implementation for tests.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleancompareRows(List<Row> l1, List<Row> l2)static booleancompareRows(List<Row> l1, List<Row> l2, boolean ignoreOrder)static RowcreateRowWithNamedPositions(RowKind kind, Object[] fieldByPosition, LinkedHashMap<String,Integer> positionByName)Internal utility for creating a row in static named-position field mode.
-
-
-
Field Detail
-
USE_LEGACY_TO_STRING
public static boolean USE_LEGACY_TO_STRING
Internal flag to enable the legacyRow.toString()implementation for tests. In general, tests should not depend on the string representation of rows but should fully compare instances (especially data types of fields). This flag will be dropped once all tests have been updated.
-
-