public abstract class NodeId extends Object implements Comparable<NodeId>
| Modifier and Type | Class and Description |
|---|---|
static class |
NodeId.IndexId |
static class |
NodeId.KeyId |
static class |
NodeId.PropertyId |
| Modifier and Type | Field and Description |
|---|---|
static NodeId |
ANY |
static NodeId |
ANY_INDEX |
static NodeId |
ANY_KEY |
static NodeId |
ANY_PROPERTY |
static NodeId |
ROOT_ID |
| Modifier and Type | Method and Description |
|---|---|
abstract NodeId |
fallbackId() |
long |
getIndex() |
String |
getKey() |
Object |
getKeyOrIndex() |
protected abstract int |
getTypeOrdinal() |
boolean |
isIndex() |
boolean |
isKey() |
static NodeId.IndexId |
valueOf(long index) |
static NodeId |
valueOf(Object object) |
static NodeId.KeyId |
valueOf(String key) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompareTopublic static final NodeId ROOT_ID
public static final NodeId ANY
public static final NodeId ANY_INDEX
public static final NodeId ANY_KEY
public static final NodeId ANY_PROPERTY
public static NodeId.IndexId valueOf(long index)
public static NodeId.KeyId valueOf(String key)
public boolean isIndex()
public boolean isKey()
public long getIndex()
public String getKey()
public Object getKeyOrIndex()
public abstract NodeId fallbackId()
protected abstract int getTypeOrdinal()
Copyright © 2015. All rights reserved.