Package com.alimama.mdrill.buffer.BlockBufferInput

Examples of com.alimama.mdrill.buffer.BlockBufferInput.KeyInput


  ReadCompress compress;
  protected SegmentTermDocs(SegmentReader parent,int buffer) {
    this.parent = parent;
    this.freqStream = null;
    if(buffer>10240&&parent.core.freqStream instanceof KeyInput) {
        KeyInput kin=(KeyInput)parent.core.freqStream;
        this.freqStream=BlockBufferInput.MaybeInstance((IndexInput)kin.input.clone(), kin.d,kin.fname,kin.getP());
        log.info("####KeyInput#####="+buffer);
    } else  {
      if(parent.core.freqStream instanceof KeyInput)
      {
        KeyInput kin=(KeyInput)parent.core.freqStream;
          this.freqStream = (IndexInput) kin.input.clone();

      }else{
        this.freqStream = (IndexInput) parent.core.freqStream.clone();
      }
View Full Code Here

TOP

Related Classes of com.alimama.mdrill.buffer.BlockBufferInput.KeyInput

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.