@PublicEvolving public final class RowUtils extends Object
Modifier and Type | Field and Description |
---|---|
static boolean |
USE_LEGACY_TO_STRING
Internal flag to enable the legacy
Row.toString() implementation for tests. |
Modifier and Type | Method and Description |
---|---|
static boolean |
compareRows(List<Row> l1,
List<Row> l2)
|
static boolean |
compareRows(List<Row> l1,
List<Row> l2,
boolean ignoreOrder)
|
static Row |
createRowWithNamedPositions(RowKind kind,
Object[] fieldByPosition,
LinkedHashMap<String,Integer> positionByName)
Internal utility for creating a row in static named-position field mode.
|
public static boolean USE_LEGACY_TO_STRING
Row.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.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.