Kudu C++ client API
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
kudu::Slice::Comparator Struct Reference

Comparator struct, useful for ordered collections (like STL maps). More...

#include <slice.h>

Public Member Functions

bool operator() (const Slice &a, const Slice &b) const
 

Detailed Description

Comparator struct, useful for ordered collections (like STL maps).

Member Function Documentation

bool kudu::Slice::Comparator::operator() ( const Slice a,
const Slice b 
) const
inline

Compare two slices using Slice::compare()

Parameters
[in]aThe slice to call Slice::compare() at.
[in]bThe slice to use as a parameter for Slice::compare().
Returns
true iff a is less than b by Slice::compare().

The documentation for this struct was generated from the following file: