use of org.sirix.axis.AbstractTemporalAxis in project sirix by sirixdb.
the class DBNode method getFirst.
@Override
public DBNode getFirst() {
moveRtx();
final AbstractTemporalAxis axis = new FirstAxis(mRtx);
return axis.hasNext() ? new DBNode(axis.getTrx(), mCollection) : null;
}
use of org.sirix.axis.AbstractTemporalAxis in project sirix by sirixdb.
the class DBNode method getPrevious.
@Override
public DBNode getPrevious() {
moveRtx();
final AbstractTemporalAxis axis = new PreviousAxis(mRtx);
return axis.hasNext() ? new DBNode(axis.getTrx(), mCollection) : null;
}
use of org.sirix.axis.AbstractTemporalAxis in project sirix by sirixdb.
the class DBNode method getNext.
@Override
public DBNode getNext() {
moveRtx();
final AbstractTemporalAxis axis = new NextAxis(mRtx);
return axis.hasNext() ? new DBNode(axis.getTrx(), mCollection) : null;
}
use of org.sirix.axis.AbstractTemporalAxis in project sirix by sirixdb.
the class DBNode method getLast.
@Override
public DBNode getLast() {
moveRtx();
final AbstractTemporalAxis axis = new LastAxis(mRtx);
return axis.hasNext() ? new DBNode(axis.getTrx(), mCollection) : null;
}
Aggregations