C# 클래스 Lucene.Net.Store.IndexInput

Abstract base class for input from a file in a {@link Directory}. A random-access input stream. Used for all Lucene index input operations.
상속: System.ICloneable
파일 보기 프로젝트 열기: apache/lucenenet 1 사용 예제들

공개 메소드들

메소드 설명
Clone ( ) : object

{@inheritDoc}

Warning: Lucene never closes cloned {@code IndexInput}s, it will only do this on the original one. The original instance must take care that cloned instances throw AlreadyClosedException when the original one is closed.

Dispose ( ) : void

Closes the stream to further operations.

Length ( ) : long

The number of bytes in the file.

Seek ( long pos ) : void

Sets current position in this file, where the next read will occur.

ToString ( ) : string

보호된 메소드들

메소드 설명
IndexInput ( string resourceDescription ) : System

resourceDescription should be a non-null, opaque string describing this resource; it's returned from #toString.

메소드 상세

Clone() 공개 메소드

{@inheritDoc}

Warning: Lucene never closes cloned {@code IndexInput}s, it will only do this on the original one. The original instance must take care that cloned instances throw AlreadyClosedException when the original one is closed.

public Clone ( ) : object
리턴 object

Dispose() 공개 추상적인 메소드

Closes the stream to further operations.
public abstract Dispose ( ) : void
리턴 void

IndexInput() 보호된 메소드

resourceDescription should be a non-null, opaque string describing this resource; it's returned from #toString.
protected IndexInput ( string resourceDescription ) : System
resourceDescription string
리턴 System

Length() 공개 추상적인 메소드

The number of bytes in the file.
public abstract Length ( ) : long
리턴 long

Seek() 공개 추상적인 메소드

Sets current position in this file, where the next read will occur.
public abstract Seek ( long pos ) : void
pos long
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string