Esempio n. 1
0
 public ArangoCursorIterator(ArangoCursor <T> cursor, ArangoCursorExecute
                             execute, InternalArangoDatabase <ArangoExecutor <object, Connection>, object, Connection> db, CursorEntity result)
     : base()
 {
     this.cursor  = cursor;
     this.execute = execute;
     this.db      = db;
     this.result  = result;
     this.pos     = 0;
 }
Esempio n. 2
0
 protected internal ArangoCursor(InternalArangoDatabase <object
                                                         , object, object> db, ArangoCursorExecute execute, java.lang.Class
                                 type, CursorEntity result)
     : base()
 {
     this.execute  = execute;
     this.type     = type;
     this.count    = result.getCount();
     this.extra    = result.getExtra();
     this.cached   = result.getCached();
     this.iterator = new ArangoCursorIterator <T>(this, execute, db,
                                                  result);
     this.id = result.getId();
 }