Search in sources :

Example 1 with FirstAxis

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

Aggregations

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