public abstract class NativeComparator
extends java.lang.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 java.lang.String |
name() |
public static final NativeComparator BYTEWISE_COMPARATOR
protected long self
Copyright © 2009-2013 FuseSource, Corp.. All Rights Reserved.