public Iterable<?> simpleExportAndGetWithPagination() { // --------------------------------------------------------- final OperationChain<Iterable<?>> opChain = new OperationChain.Builder() .first(new GetAllElements()) .then(new ExportToSet<>()) .then(new DiscardOutput()) .then(new GetSetExport.Builder() .start(2) .end(4) .build()) .build(); // --------------------------------------------------------- return runExample(opChain, null); }
public Iterable<?> simpleExportAndGetWithPagination() { // --------------------------------------------------------- final OperationChain<Iterable<?>> opChain = new OperationChain.Builder() .first(new GetAllElements()) .then(new ExportToSet<>()) .then(new DiscardOutput()) .then(new GetSetExport.Builder() .start(2) .end(4) .build()) .build(); // --------------------------------------------------------- return runExample(opChain, null); }
public CloseableIterable<?> simpleExportAndGetWithPagination() { // --------------------------------------------------------- final OperationChain<CloseableIterable<?>> opChain = new OperationChain.Builder() .first(new GetAllEdges()) .then(new ExportToSet()) .then(new GetSetExport.Builder() .start(2) .end(4) .build()) .build(); // --------------------------------------------------------- return runExample(opChain); }
public CloseableIterable<?> simpleExportAndGetWithPagination() { // --------------------------------------------------------- final OperationChain<CloseableIterable<?>> opChain = new OperationChain.Builder() .first(new GetAllEdges()) .then(new ExportToSet()) .then(new GetSetExport.Builder() .start(2) .end(4) .build()) .build(); // --------------------------------------------------------- return runExample(opChain); }