C# Class Lucene.Net.QueryParsers.Flexible.Core.Nodes.QueryNodeImpl

A QueryNodeImpl is the default implementation of the interface IQueryNode
Inheritance: IQueryNode, ICloneable
Afficher le fichier Open project: apache/lucenenet Class Usage Examples

Méthodes publiques

Свойство Type Description
PLAINTEXT_FIELD_NAME string

Protected Properties

Свойство Type Description
toQueryStringIgnoreFields bool

Méthodes publiques

Méthode Description
Add ( IList children ) : void
Add ( IQueryNode child ) : void
Clone ( ) : object
CloneTree ( ) : IQueryNode
ContainsTag ( string tagName ) : bool

verify if a node contains a tag

GetChildren ( ) : IList

a List for QueryNode object. Returns null, for nodes that do not contain children. All leaf Nodes return null.

GetTag ( string tagName ) : object
RemoveFromParent ( ) : void
Set ( IList children ) : void
SetTag ( string tagName, object value ) : void
ToQueryString ( IEscapeQuerySyntax escapeSyntaxParser ) : string
ToString ( ) : string

Every implementation of this class should return pseudo xml like this: For FieldQueryNode: <field start='1' end='2' field='subject' text='foo'/>

UnsetTag ( string tagName ) : void

Méthodes protégées

Méthode Description
Allocate ( ) : void
IsDefaultField ( string fld ) : bool

This method is use toQueryString to detect if fld is the default field

Private Methods

Méthode Description
SetParent ( IQueryNode parent ) : void

Method Details

Add() public méthode

public Add ( IList children ) : void
children IList
Résultat void

Add() public méthode

public Add ( IQueryNode child ) : void
child IQueryNode
Résultat void

Allocate() protected méthode

protected Allocate ( ) : void
Résultat void

Clone() public méthode

public Clone ( ) : object
Résultat object

CloneTree() public méthode

public CloneTree ( ) : IQueryNode
Résultat IQueryNode

ContainsTag() public méthode

verify if a node contains a tag
public ContainsTag ( string tagName ) : bool
tagName string
Résultat bool

GetChildren() public méthode

a List for QueryNode object. Returns null, for nodes that do not contain children. All leaf Nodes return null.
public GetChildren ( ) : IList
Résultat IList

GetTag() public méthode

public GetTag ( string tagName ) : object
tagName string
Résultat object

IsDefaultField() protected méthode

This method is use toQueryString to detect if fld is the default field
protected IsDefaultField ( string fld ) : bool
fld string field name
Résultat bool

RemoveFromParent() public méthode

public RemoveFromParent ( ) : void
Résultat void

Set() public méthode

public Set ( IList children ) : void
children IList
Résultat void

SetTag() public méthode

public SetTag ( string tagName, object value ) : void
tagName string
value object
Résultat void

ToQueryString() public abstract méthode

public abstract ToQueryString ( IEscapeQuerySyntax escapeSyntaxParser ) : string
escapeSyntaxParser IEscapeQuerySyntax
Résultat string

ToString() public méthode

Every implementation of this class should return pseudo xml like this: For FieldQueryNode: <field start='1' end='2' field='subject' text='foo'/>
public ToString ( ) : string
Résultat string

UnsetTag() public méthode

public UnsetTag ( string tagName ) : void
tagName string
Résultat void

Property Details

PLAINTEXT_FIELD_NAME public_oe static_oe property

index default field
public static string PLAINTEXT_FIELD_NAME
Résultat string

toQueryStringIgnoreFields protected_oe property

If set to true the the method toQueryString will not write field names
protected bool toQueryStringIgnoreFields
Résultat bool