Exemple #1
0
 internal TokenIterator(KernelTransaction transaction, TokenAccess <T> access)
 {
     this.Access    = access;
     this.Statement = transaction.AcquireStatement();
     try
     {
         this.Tokens = access.Tokens(transaction.TokenRead());
     }
     catch (Exception e)
     {
         Close();
         throw e;
     }
 }
Exemple #2
0
 internal static ResourceIterator <T> All <T>(KernelTransaction transaction, TokenAccess <T> access)
 {
     return(new TokenIteratorAnonymousInnerClass2(transaction, access));
 }
Exemple #3
0
            internal static ResourceIterator <T> InUse <T>(KernelTransaction transaction, TokenAccess <T> access)
            {
                SchemaReadCore schemaReadCore = transaction.SchemaRead().snapshot();

                return(new TokenIteratorAnonymousInnerClass(transaction, access, schemaReadCore));
            }