public abstract class NativeComparator extends Object
Provides a java interface to the C++ leveldb::Comparator class.
Modifier and Type | Class and Description |
---|---|
static class |
NativeComparator.ComparatorJNI |
Modifier and Type | Field and Description |
---|---|
static NativeComparator |
BYTEWISE_COMPARATOR |
protected long |
self |
Constructor and Description |
---|
NativeComparator() |
Modifier and Type | Method and Description |
---|---|
protected void |
assertAllocated() |
abstract int |
compare(byte[] key1,
byte[] key2) |
void |
delete() |
boolean |
isAllocated() |
abstract String |
name() |
public static final NativeComparator BYTEWISE_COMPARATOR
protected long self
public void delete()
public abstract int compare(byte[] key1, byte[] key2)
public abstract String name()
public boolean isAllocated()
protected void assertAllocated()
Copyright © 2009–2024 FuseSource, Corp.. All rights reserved.