Java 类org.apache.lucene.util.packed.PagedMutable 实例源码

项目:lams    文件:BinaryDocValuesFieldUpdates.java   
Iterator(int size, PagedGrowableWriter offsets, PagedGrowableWriter lengths, 
    PagedMutable docs, BytesRef values) {
  this.offsets = offsets;
  this.size = size;
  this.lengths = lengths;
  this.docs = docs;
  value = values.clone();
}
项目:lams    文件:BinaryDocValuesFieldUpdates.java   
public BinaryDocValuesFieldUpdates(String field, int maxDoc) {
  super(field, FieldInfo.DocValuesType.BINARY);
  bitsPerValue = PackedInts.bitsRequired(maxDoc - 1);
  docs = new PagedMutable(1, PAGE_SIZE, bitsPerValue, PackedInts.COMPACT);
  offsets = new PagedGrowableWriter(1, PAGE_SIZE, 1, PackedInts.FAST);
  lengths = new PagedGrowableWriter(1, PAGE_SIZE, 1, PackedInts.FAST);
  values = new BytesRefBuilder();
  size = 0;
}
项目:lams    文件:NumericDocValuesFieldUpdates.java   
public NumericDocValuesFieldUpdates(String field, int maxDoc) {
  super(field, FieldInfo.DocValuesType.NUMERIC);
  bitsPerValue = PackedInts.bitsRequired(maxDoc - 1);
  docs = new PagedMutable(1, PAGE_SIZE, bitsPerValue, PackedInts.COMPACT);
  values = new PagedGrowableWriter(1, PAGE_SIZE, 1, PackedInts.FAST);
  size = 0;
}
项目:search    文件:BinaryDocValuesFieldUpdates.java   
Iterator(int size, PagedGrowableWriter offsets, PagedGrowableWriter lengths, 
    PagedMutable docs, BytesRef values) {
  this.offsets = offsets;
  this.size = size;
  this.lengths = lengths;
  this.docs = docs;
  value = values.clone();
}
项目:search    文件:BinaryDocValuesFieldUpdates.java   
public BinaryDocValuesFieldUpdates(String field, int maxDoc) {
  super(field, FieldInfo.DocValuesType.BINARY);
  bitsPerValue = PackedInts.bitsRequired(maxDoc - 1);
  docs = new PagedMutable(1, PAGE_SIZE, bitsPerValue, PackedInts.COMPACT);
  offsets = new PagedGrowableWriter(1, PAGE_SIZE, 1, PackedInts.FAST);
  lengths = new PagedGrowableWriter(1, PAGE_SIZE, 1, PackedInts.FAST);
  values = new BytesRefBuilder();
  size = 0;
}
项目:search    文件:NumericDocValuesFieldUpdates.java   
public NumericDocValuesFieldUpdates(String field, int maxDoc) {
  super(field, FieldInfo.DocValuesType.NUMERIC);
  bitsPerValue = PackedInts.bitsRequired(maxDoc - 1);
  docs = new PagedMutable(1, PAGE_SIZE, bitsPerValue, PackedInts.COMPACT);
  values = new PagedGrowableWriter(1, PAGE_SIZE, 1, PackedInts.FAST);
  size = 0;
}
项目:read-open-source-code    文件:BinaryDocValuesFieldUpdates.java   
Iterator(int size, PagedGrowableWriter offsets, PagedGrowableWriter lengths, 
    PagedMutable docs, BytesRef values) {
  this.offsets = offsets;
  this.size = size;
  this.lengths = lengths;
  this.docs = docs;
  value = values.clone();
}
项目:read-open-source-code    文件:BinaryDocValuesFieldUpdates.java   
public BinaryDocValuesFieldUpdates(String field, int maxDoc) {
  super(field, FieldInfo.DocValuesType.BINARY);
  bitsPerValue = PackedInts.bitsRequired(maxDoc - 1);
  docs = new PagedMutable(1, PAGE_SIZE, bitsPerValue, PackedInts.COMPACT);
  offsets = new PagedGrowableWriter(1, PAGE_SIZE, 1, PackedInts.FAST);
  lengths = new PagedGrowableWriter(1, PAGE_SIZE, 1, PackedInts.FAST);
  values = new BytesRefBuilder();
  size = 0;
}
项目:read-open-source-code    文件:NumericDocValuesFieldUpdates.java   
public NumericDocValuesFieldUpdates(String field, int maxDoc) {
  super(field, FieldInfo.DocValuesType.NUMERIC);
  bitsPerValue = PackedInts.bitsRequired(maxDoc - 1);
  docs = new PagedMutable(1, PAGE_SIZE, bitsPerValue, PackedInts.COMPACT);
  values = new PagedGrowableWriter(1, PAGE_SIZE, 1, PackedInts.FAST);
  size = 0;
}
项目:lams    文件:NumericDocValuesFieldUpdates.java   
Iterator(int size, PagedGrowableWriter values, PagedMutable docs) {
  this.size = size;
  this.values = values;
  this.docs = docs;
}
项目:search    文件:NumericDocValuesFieldUpdates.java   
Iterator(int size, PagedGrowableWriter values, PagedMutable docs) {
  this.size = size;
  this.values = values;
  this.docs = docs;
}
项目:read-open-source-code    文件:NumericFieldUpdates.java   
public PackedNumericFieldUpdates(int maxDoc) {
  docsWithField = new FixedBitSet(64);
  docs = new PagedMutable(1, 1024, PackedInts.bitsRequired(maxDoc - 1), PackedInts.COMPACT);
  values = new PagedGrowableWriter(1, 1024, 1, PackedInts.FAST);
  size = 0;
}
项目:read-open-source-code    文件:NumericFieldUpdates.java   
public PackedNumericFieldUpdates(int maxDoc) {
  docsWithField = new FixedBitSet(64);
  docs = new PagedMutable(1, 1024, PackedInts.bitsRequired(maxDoc - 1), PackedInts.COMPACT);
  values = new PagedGrowableWriter(1, 1024, 1, PackedInts.FAST);
  size = 0;
}
项目:read-open-source-code    文件:NumericDocValuesFieldUpdates.java   
Iterator(int size, PagedGrowableWriter values, PagedMutable docs) {
  this.size = size;
  this.values = values;
  this.docs = docs;
}
项目:Maskana-Gestor-de-Conocimiento    文件:NumericFieldUpdates.java   
public PackedNumericFieldUpdates(int maxDoc) {
  docsWithField = new FixedBitSet(64);
  docs = new PagedMutable(1, 1024, PackedInts.bitsRequired(maxDoc - 1), PackedInts.COMPACT);
  values = new PagedGrowableWriter(1, 1024, 1, PackedInts.FAST);
  size = 0;
}