public interface RecordTokenComparator
ScalarValued
,
implementations are specific to the types provided at
construction time. When used, it is expected that values
are provided in the order matching these types.
A RecordTokenComparator
is useful for comparison of
key fields of a decomposed record.
Modifier and Type | Method and Description |
---|---|
int |
compare()
Indicates the relative ordering of two sets of values.
|
void |
setLeftSources(ScalarValued[] sources)
Binds the left-hand values of the comparator to the specified
objects.
|
void |
setRightSources(ScalarValued[] sources)
Binds the right-hand values of the comparator to the specified
objects.
|
void setLeftSources(ScalarValued[] sources)
sources
- the value containers to use on the left side
of comparisonsvoid setRightSources(ScalarValued[] sources)
sources
- the value containers to use on the right side
of comparisonsint compare()
Copyright © 2021 Actian Corporation. All rights reserved.