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.
Example #1
0
 internal LazyField(LazyDocument outerInstance, string name, int fieldNum)
 {
     this.outerInstance = outerInstance;
     this.name          = name;
     this.fieldNum      = fieldNum;
 }
Example #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));
 }
Example #4
0
 internal LazyTestingStoredFieldVisitor(LazyDocument l, params string[] fields)
 {
     lazyDoc        = l;
     lazyFieldNames = new JCG.HashSet <string>(fields);
 }
 internal LazyField(LazyDocument outerInstance, string name, int fieldNum)
 {
     this.outerInstance = outerInstance;
     this.name = name;
     this.fieldNum = fieldNum;
 }