Search in sources :

Example 1 with PreviousAxis

use of org.sirix.axis.temporal.PreviousAxis 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;
}
Also used : PreviousAxis(org.sirix.axis.temporal.PreviousAxis) AbstractTemporalAxis(org.sirix.axis.AbstractTemporalAxis)

Aggregations

AbstractTemporalAxis (org.sirix.axis.AbstractTemporalAxis)1 PreviousAxis (org.sirix.axis.temporal.PreviousAxis)1