@Deprecated public interface TimelineIndex<T extends org.neo4j.graphdb.PropertyContainer>
long that identifies the indexed Node or
Relationship and defines its global order is fine.| Modifier and Type | Method and Description |
|---|---|
void |
add(T entity,
long timestamp)
Deprecated.
|
org.neo4j.graphdb.index.IndexHits<T> |
getBetween(Long startTimestampOrNull,
Long endTimestampOrNull)
Deprecated.
|
org.neo4j.graphdb.index.IndexHits<T> |
getBetween(Long startTimestampOrNull,
Long endTimestampOrNull,
boolean reversed)
Deprecated.
|
T |
getFirst()
Deprecated.
|
T |
getLast()
Deprecated.
|
void |
remove(T entity,
long timestamp)
Deprecated.
|
@Deprecated T getLast()
null if the timeline is empty.@Deprecated T getFirst()
null if the timeline is empty.@Deprecated void remove(T entity, long timestamp)
entity - the entity to remove from this timeline.timestamp - the timestamp this entity was added with.@Deprecated void add(T entity, long timestamp)
timestamp.entity - the entity to add to this timeline.timestamp - the timestamp to use.@Deprecated org.neo4j.graphdb.index.IndexHits<T> getBetween(Long startTimestampOrNull, Long endTimestampOrNull, boolean reversed)
reversed is
true the order of the result is reversed.startTimestampOrNull - the start timestamp, entities with greater
timestamp value will be returned (exclusive). Will be ignored if null.endTimestampOrNull - the end timestamp, entities with lesser timestampreversed - reverses the result order if true.
value will be returned (exclude). Will be ignored if null.@Deprecated org.neo4j.graphdb.index.IndexHits<T> getBetween(Long startTimestampOrNull, Long endTimestampOrNull)
startTimestampOrNull - the start timestamp, entities with greater
timestamp value will be returned (exclusive). Will be ignored if null.endTimestampOrNull - the end timestamp, entities with lesser timestamp
value will be returned (exclude). Will be ignored if null.Copyright © 2002–2018 The Neo4j Graph Database Project. All rights reserved.