MCPcopy Create free account
hub / github.com/apache/arrow / Compare

Method Compare

cpp/src/parquet/statistics.cc:150–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148 static T Coalesce(T val, T fallback) { return val; }
149
150 static bool Compare(int type_length, T a, T b) {
151 return SafeCopy<UCType>(a) < SafeCopy<UCType>(b);
152 }
153
154 static T Min(int type_length, T a, T b) { return Compare(type_length, a, b) ? a : b; }
155 static T Max(int type_length, T a, T b) { return Compare(type_length, a, b) ? b : a; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected