public interface FrameComparisonWidget
Frame
and provides ways to compare rows of that frame to various other things.
Not thread-safe.Modifier and Type | Method and Description |
---|---|
int |
compare(int row,
FrameComparisonWidget otherWidget,
int otherRow)
Compare a specific row of this frame to a specific row of another frame.
|
int |
compare(int row,
RowKey key)
Compare a specific row of this frame to the provided key.
|
boolean |
isCompletelyNonNullKey(int row)
Whether a particular row has no null fields in its comparison key.
|
RowKey |
readKey(int row)
Returns the
RowKey corresponding to a particular row. |
RowKey readKey(int row)
boolean isCompletelyNonNullKey(int row)
NullHandling.replaceWithDefault()
, default values (like empty strings
and numeric zeroes) are considered null for purposes of this method. This behavior is inherited from
FieldReader.isNull(Memory, long)
and enables join code to behave
similarly in MSQ and native queries.int compare(int row, RowKey key)
int compare(int row, FrameComparisonWidget otherWidget, int otherRow)
FrameSort
to sort frames in-place.Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.