Class AbstractQueryMaker
Abstract base query maker. Each query maker should just implement the PrepareQueries() method.
Inheritance
System.Object
AbstractQueryMaker
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Benchmarks.ByTask.Feeds
Assembly: Lucene.Net.Benchmark.dll
Syntax
public abstract class AbstractQueryMaker : IQueryMaker
Fields
| Improve this Doc View Sourcem_config
Declaration
protected Config m_config
Field Value
Type | Description |
---|---|
Config |
m_qnum
Declaration
protected int m_qnum
Field Value
Type | Description |
---|---|
System.Int32 |
m_queries
Declaration
protected Query[] m_queries
Field Value
Type | Description |
---|---|
Query[] |
Methods
| Improve this Doc View SourceMakeQuery()
Declaration
public virtual Query MakeQuery()
Returns
Type | Description |
---|---|
Query |
MakeQuery(Int32)
Declaration
public virtual Query MakeQuery(int size)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | size |
Returns
Type | Description |
---|---|
Query |
See Also
MakeQuery(System.Int32)
NextQnum()
Declaration
protected virtual int NextQnum()
Returns
Type | Description |
---|---|
System.Int32 |
PrepareQueries()
Declaration
protected abstract Query[] PrepareQueries()
Returns
Type | Description |
---|---|
Query[] |
PrintQueries()
Declaration
public virtual string PrintQueries()
Returns
Type | Description |
---|---|
System.String |
ResetInputs()
Declaration
public virtual void ResetInputs()
SetConfig(Config)
Declaration
public virtual void SetConfig(Config config)
Parameters
Type | Name | Description |
---|---|---|
Config | config |