Class StrDocValues
Abstract FunctionValues implementation which supports retrieving string values. Implementations can control how the string values are loaded through StrVal(int)
Inherited Members
Namespace: Lucene.Net.Queries.Function.DocValues
Assembly: Lucene.Net.Queries.dll
Syntax
public abstract class StrDocValues : FunctionValues
Constructors
StrDocValues(ValueSource)
Abstract FunctionValues implementation which supports retrieving string values. Implementations can control how the string values are loaded through StrVal(int)
Declaration
protected StrDocValues(ValueSource vs)
Parameters
| Type | Name | Description |
|---|---|---|
| ValueSource | vs |
Fields
m_vs
Abstract FunctionValues implementation which supports retrieving string values. Implementations can control how the string values are loaded through StrVal(int)
Declaration
protected readonly ValueSource m_vs
Field Value
| Type | Description |
|---|---|
| ValueSource |
Methods
BoolVal(int)
Abstract FunctionValues implementation which supports retrieving string values. Implementations can control how the string values are loaded through StrVal(int)
Declaration
public override bool BoolVal(int doc)
Parameters
| Type | Name | Description |
|---|---|---|
| int | doc |
Returns
| Type | Description |
|---|---|
| bool |
Overrides
GetValueFiller()
Note
This API is experimental and might change in incompatible ways in the next release.
Declaration
public override FunctionValues.ValueFiller GetValueFiller()
Returns
| Type | Description |
|---|---|
| FunctionValues.ValueFiller |
Overrides
ObjectVal(int)
Native object representation of the value
Declaration
public override object ObjectVal(int doc)
Parameters
| Type | Name | Description |
|---|---|---|
| int | doc |
Returns
| Type | Description |
|---|---|
| object |
Overrides
StrVal(int)
Abstract FunctionValues implementation which supports retrieving string values. Implementations can control how the string values are loaded through StrVal(int)
Declaration
public override abstract string StrVal(int doc)
Parameters
| Type | Name | Description |
|---|---|---|
| int | doc |
Returns
| Type | Description |
|---|---|
| string |
Overrides
ToString(int)
Abstract FunctionValues implementation which supports retrieving string values. Implementations can control how the string values are loaded through StrVal(int)
Declaration
public override string ToString(int doc)
Parameters
| Type | Name | Description |
|---|---|---|
| int | doc |
Returns
| Type | Description |
|---|---|
| string |