Package com.alvazan.orm.layer3.typed

Examples of com.alvazan.orm.layer3.typed.NoSqlTypedSessionImpl


 
  <T> AbstractCursor<KeyValue<T>> findAllImpl2(MetaClass<T> meta, ViewInfo mainView, DirectCursor<IndexColumnInfo> keys, String query, boolean cacheResults, Integer batchSize) {
    //OKAY, so this gets interesting.  The noSqlKeys could be a proxy iterable to
    //millions of keys with some batch size.  We canNOT do a find inline here but must do the find in
    //batches as well
    IndiceCursorProxy indiceCursor = new IndiceCursorProxy(mainView, keys);
    DirectCursor<byte[]> virtKeys = new IndiceToVirtual(meta.getMetaDbo(), indiceCursor);
    return findAllImpl2(meta, virtKeys, query, cacheResults, batchSize);
  }
View Full Code Here


 
  <T> AbstractCursor<KeyValue<T>> findAllImpl2(MetaClass<T> meta, ViewInfo mainView, DirectCursor<IndexColumnInfo> keys, String query, boolean cacheResults, Integer batchSize) {
    //OKAY, so this gets interesting.  The noSqlKeys could be a proxy iterable to
    //millions of keys with some batch size.  We canNOT do a find inline here but must do the find in
    //batches as well
    IndiceCursorProxy indiceCursor = new IndiceCursorProxy(mainView, keys);
    DirectCursor<byte[]> virtKeys = new IndiceToVirtual(meta.getMetaDbo(), indiceCursor);
    return findAllImpl2(meta, virtKeys, query, cacheResults, batchSize);
  }
View Full Code Here

 
  <T> AbstractCursor<KeyValue<T>> findAllImpl2(MetaClass<T> meta, ViewInfo mainView, DirectCursor<IndexColumnInfo> keys, String query, boolean cacheResults, Integer batchSize) {
    //OKAY, so this gets interesting.  The noSqlKeys could be a proxy iterable to
    //millions of keys with some batch size.  We canNOT do a find inline here but must do the find in
    //batches as well
    IndiceCursorProxy indiceCursor = new IndiceCursorProxy(mainView, keys);
    DirectCursor<byte[]> virtKeys = new IndiceToVirtual(meta.getMetaDbo(), indiceCursor);
    return findAllImpl2(meta, virtKeys, query, cacheResults, batchSize);
  }
View Full Code Here

 
  <T> AbstractCursor<KeyValue<T>> findAllImpl2(MetaClass<T> meta, ViewInfo mainView, DirectCursor<IndexColumnInfo> keys, String query, boolean cacheResults, Integer batchSize) {
    //OKAY, so this gets interesting.  The noSqlKeys could be a proxy iterable to
    //millions of keys with some batch size.  We canNOT do a find inline here but must do the find in
    //batches as well
    IndiceCursorProxy indiceCursor = new IndiceCursorProxy(mainView, keys);
    DirectCursor<byte[]> virtKeys = new IndiceToVirtual(meta.getMetaDbo(), indiceCursor);
    return findAllImpl2(meta, virtKeys, query, cacheResults, batchSize);
  }
View Full Code Here

    //DirectCursor<IndexColumnInfo> debugCursor = new DebugCursor(indice);
   
    //BIG NOTE: Here, we could return all the keys from the join so we can eagerly fetch other entities as well
    //instead of waiting for the user to loop through those entities AND if user accesses those entites, we could block
    //while the load is happening too in the background
    Iterable<byte[]> keys = new IterableCursorProxy(mainView, indice);
   
    String query = meta.getQuery();
    AbstractCursor<KeyValue<T>> results = mgr.findAllImpl2(mainMetaClass, keys, query, batchSize);

    return results;
View Full Code Here

    //DirectCursor<IndexColumnInfo> debugCursor = new DebugCursor(indice);
   
    //BIG NOTE: Here, we could return all the keys from the join so we can eagerly fetch other entities as well
    //instead of waiting for the user to loop through those entities AND if user accesses those entites, we could block
    //while the load is happening too in the background
    Iterable<byte[]> keys = new IterableCursorProxy(mainView, indice);
   
    String query = meta.getQuery();
    AbstractCursor<KeyValue<T>> results = mgr.findAllImpl2(mainMetaClass, keys, query, cacheResults, batchSize);

    return results;
View Full Code Here

    //DirectCursor<IndexColumnInfo> debugCursor = new DebugCursor(indice);
   
    //BIG NOTE: Here, we could return all the keys from the join so we can eagerly fetch other entities as well
    //instead of waiting for the user to loop through those entities AND if user accesses those entites, we could block
    //while the load is happening too in the background
    Iterable<byte[]> keys = new IterableCursorProxy(mainView, indice);
   
    String query = meta.getQuery();
    AbstractCursor<KeyValue<T>> results = mgr.findAllImpl2(mainMetaClass, keys, query, cacheResults, batchSize);

    return results;
View Full Code Here

TOP

Related Classes of com.alvazan.orm.layer3.typed.NoSqlTypedSessionImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.