Lucene.Net  3.0.3
Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Pages
Public Member Functions | Properties | List of all members
Lucene.Net.Index.SegmentReader.Norm Class Reference

Byte[] referencing is used because a new norm object needs to be created for each clone, and the byte array is all that is needed for sharing between cloned readers. The current norm referencing is for sharing between readers whereas the byte[] referencing is for copy on write which is independent of reader references (i.e. incRef, decRef). More...

Inherits ICloneable.

Public Member Functions

 Norm (SegmentReader enclosingInstance, IndexInput in_Renamed, int number, long normSeek)
 
void IncRef ()
 
void DecRef ()
 
void Bytes (byte[] bytesOut, int offset, int len)
 
byte[] Bytes ()
 
Ref BytesRef ()
 
byte[] CopyOnWrite ()
 
System.Object Clone ()
 
void ReWrite (SegmentInfo si)
 

Properties

SegmentReader Enclosing_Instance [get]
 

Detailed Description

Byte[] referencing is used because a new norm object needs to be created for each clone, and the byte array is all that is needed for sharing between cloned readers. The current norm referencing is for sharing between readers whereas the byte[] referencing is for copy on write which is independent of reader references (i.e. incRef, decRef).

Definition at line 451 of file SegmentReader.cs.

Constructor & Destructor Documentation

Lucene.Net.Index.SegmentReader.Norm.Norm ( SegmentReader  enclosingInstance,
IndexInput  in_Renamed,
int  number,
long  normSeek 
)

Definition at line 482 of file SegmentReader.cs.

Member Function Documentation

void Lucene.Net.Index.SegmentReader.Norm.Bytes ( byte[]  bytesOut,
int  offset,
int  len 
)

Definition at line 558 of file SegmentReader.cs.

byte [] Lucene.Net.Index.SegmentReader.Norm.Bytes ( )

Definition at line 591 of file SegmentReader.cs.

Ref Lucene.Net.Index.SegmentReader.Norm.BytesRef ( )

Definition at line 641 of file SegmentReader.cs.

System.Object Lucene.Net.Index.SegmentReader.Norm.Clone ( )

Definition at line 674 of file SegmentReader.cs.

byte [] Lucene.Net.Index.SegmentReader.Norm.CopyOnWrite ( )

Definition at line 648 of file SegmentReader.cs.

void Lucene.Net.Index.SegmentReader.Norm.DecRef ( )

Definition at line 523 of file SegmentReader.cs.

void Lucene.Net.Index.SegmentReader.Norm.IncRef ( )

Definition at line 490 of file SegmentReader.cs.

void Lucene.Net.Index.SegmentReader.Norm.ReWrite ( SegmentInfo  si)

Definition at line 720 of file SegmentReader.cs.

Property Documentation

SegmentReader Lucene.Net.Index.SegmentReader.Norm.Enclosing_Instance
get

Definition at line 459 of file SegmentReader.cs.


The documentation for this class was generated from the following file: