Computes whether one row is lexicographically less than another row. More...
Public Member Functions  
row_lexicographic_comparator (table_device_view lhs, table_device_view rhs, order const *column_order=nullptr, null_order const *null_precedence=nullptr)  
Construct a function object for performing a lexicographic comparison between the rows of two tables. More...  
__device__ bool  operator() (size_type lhs_index, size_type rhs_index) const noexcept 
Checks whether the row at lhs_index in the lhs table compares lexicographically less than the row at rhs_index in the rhs table. More...  
Computes whether one row is lexicographically less than another row.
Lexicographic ordering is determined by:
Lexicographic ordering is exactly equivalent to doing an alphabetical sort of two words, for example, aac
would be less than (or precede) abb
. The second letter in both words is the first nonequal letter, and a < b
, thus aac < abb
.
has_nulls  Indicates the potential for null values in either row. 
Definition at line 336 of file row_operators.cuh.

inline 
Construct a function object for performing a lexicographic comparison between the rows of two tables.
cudf::logic_error  if lhs.num_columns() != rhs.num_columns() 
cudf::logic_error  if column types of lhs and rhs are not comparable. 
lhs  The first table 
rhs  The second table (may be the same table as lhs ) 
column_order  Optional, device array the same length as a row that indicates the desired ascending/descending order of each column in a row. If nullptr , it is assumed all columns are sorted in ascending order. 
null_precedence  Optional, device array the same length as a row and indicates how null values compare to all other for every column. If it is nullptr, then null precedence would be null_order::BEFORE for all columns. 
Definition at line 355 of file row_operators.cuh.

inlinenoexcept 
Checks whether the row at lhs_index
in the lhs
table compares lexicographically less than the row at rhs_index
in the rhs
table.
lhs_index  The index of row in the lhs table to examine 
rhs_index  The index of the row in the rhs table to examine 
true
if row from the lhs
table compares less than row in the rhs
table Definition at line 375 of file row_operators.cuh.