Defers actually loading a field's value until you ask for it. You must not use the returned Field instances after the provided reader has been closed.
Esempio n. 1
0
 internal LazyField(LazyDocument outerInstance, string name, int fieldNum)
 {
     this.outerInstance = outerInstance;
     this.name          = name;
     this.fieldNum      = fieldNum;
 }
Esempio n. 2
0
 internal LazyTestingStoredFieldVisitor(LazyDocument l, params string[] fields)
 {
     lazyDoc        = l;
     lazyFieldNames = new HashSet <string>(Arrays.AsList(fields));
 }
 internal LazyTestingStoredFieldVisitor(LazyDocument l, params string[] fields)
 {
     lazyDoc = l;
     lazyFieldNames = new HashSet<string>(Arrays.AsList(fields));
 }
Esempio n. 4
0
 internal LazyTestingStoredFieldVisitor(LazyDocument l, params string[] fields)
 {
     lazyDoc        = l;
     lazyFieldNames = new JCG.HashSet <string>(fields);
 }
Esempio n. 5
0
 internal LazyField(LazyDocument outerInstance, string name, int fieldNum)
 {
     this.outerInstance = outerInstance;
     this.name = name;
     this.fieldNum = fieldNum;
 }