Class AbstractQueryMaker
Abstract base query maker. Each query maker should just implement the PrepareQueries() method.
Inheritance
Implements
Inherited Members
Namespace: Lucene.Net.Benchmarks.ByTask.Feeds
Assembly: Lucene.Net.Benchmark.dll
Syntax
public abstract class AbstractQueryMaker : IQueryMaker
Fields
m_config
Abstract base query maker. Each query maker should just implement the PrepareQueries() method.
Declaration
protected Config m_config
Field Value
| Type | Description |
|---|---|
| Config |
m_qnum
Abstract base query maker. Each query maker should just implement the PrepareQueries() method.
Declaration
protected int m_qnum
Field Value
| Type | Description |
|---|---|
| int |
m_queries
Abstract base query maker. Each query maker should just implement the PrepareQueries() method.
Declaration
protected Query[] m_queries
Field Value
| Type | Description |
|---|---|
| Query[] |
Methods
MakeQuery()
Create the next query
Declaration
public virtual Query MakeQuery()
Returns
| Type | Description |
|---|---|
| Query |
MakeQuery(int)
Abstract base query maker. Each query maker should just implement the PrepareQueries() method.
Declaration
public virtual Query MakeQuery(int size)
Parameters
| Type | Name | Description |
|---|---|---|
| int | size |
Returns
| Type | Description |
|---|---|
| Query |
See Also
NextQnum()
Abstract base query maker. Each query maker should just implement the PrepareQueries() method.
Declaration
protected virtual int NextQnum()
Returns
| Type | Description |
|---|---|
| int |
PrepareQueries()
Abstract base query maker. Each query maker should just implement the PrepareQueries() method.
Declaration
protected abstract Query[] PrepareQueries()
Returns
| Type | Description |
|---|---|
| Query[] |
PrintQueries()
Print the queries
Declaration
public virtual string PrintQueries()
Returns
| Type | Description |
|---|---|
| string |
ResetInputs()
Reset inputs so that the test run would behave, input wise, as if it just started.
Declaration
public virtual void ResetInputs()
SetConfig(Config)
Set the properties
Declaration
public virtual void SetConfig(Config config)
Parameters
| Type | Name | Description |
|---|---|---|
| Config | config |