Search in sources :

Example 1 with AbstractTemporalAxis

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

Example 2 with AbstractTemporalAxis

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

Example 3 with AbstractTemporalAxis

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

Example 4 with AbstractTemporalAxis

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

Aggregations

AbstractTemporalAxis (org.sirix.axis.AbstractTemporalAxis)4 FirstAxis (org.sirix.axis.temporal.FirstAxis)1 LastAxis (org.sirix.axis.temporal.LastAxis)1 NextAxis (org.sirix.axis.temporal.NextAxis)1 PreviousAxis (org.sirix.axis.temporal.PreviousAxis)1