public abstract class NodeId extends Object implements Comparable<NodeId>
any *
+- any index []
+- index [1]
+ any key {}
+- key ["key"]
+- any property .*
+ property
| 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() |
static NodeId.IndexId |
index(long index) |
static NodeId |
index(Number number) |
boolean |
isIndex() |
boolean |
isKey() |
static NodeId.KeyId |
key(String key) |
static NodeId |
keyOrIndex(Object object) |
abstract PropertyPath |
toPath(PropertyPath parent) |
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 index(long index)
public static NodeId.KeyId key(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()
public abstract PropertyPath toPath(PropertyPath parent)
Copyright © 2015. All rights reserved.