org.aminds.lucene.queryParser.regexp.nodes
クラス RegexpQueryNode

java.lang.Object
  上位を拡張 org.apache.lucene.queryParser.core.nodes.QueryNodeImpl
      上位を拡張 org.apache.lucene.queryParser.core.nodes.FieldQueryNode
          上位を拡張 org.apache.lucene.queryParser.standard.nodes.WildcardQueryNode
              上位を拡張 org.aminds.lucene.queryParser.regexp.nodes.RegexpQueryNode
すべての実装されたインタフェース:
Serializable, Cloneable, FieldableNode, QueryNode, TextableQueryNode

public class RegexpQueryNode
extends WildcardQueryNode

A RegexpQueryNode represents RegexQuery query. Examples: /[a-z][0-9]+/

作成者:
Masashi Nakanishi
関連項目:
直列化された形式

フィールドの概要
 
クラス org.apache.lucene.queryParser.core.nodes.FieldQueryNode から継承されたフィールド
begin, end, field, positionIncrement, text
 
クラス org.apache.lucene.queryParser.core.nodes.QueryNodeImpl から継承されたフィールド
PLAINTEXT_FIELD_NAME, toQueryStringIgnoreFields
 
コンストラクタの概要
RegexpQueryNode(CharSequence field, CharSequence text, CharSequence flags, int begin, int end)
           
 
メソッドの概要
 RegexpQueryNode cloneTree()
           
 CharSequence getFlags()
           
 CharSequence toQueryString()
           
 CharSequence toQueryString(EscapeQuerySyntax escaper)
           
 String toString()
           
 
クラス org.apache.lucene.queryParser.core.nodes.FieldQueryNode から継承されたメソッド
getBegin, getEnd, getField, getFieldAsString, getPositionIncrement, getTermEscaped, getTermEscapeQuoted, getText, getTextAsString, setBegin, setEnd, setField, setPositionIncrement, setText
 
クラス org.apache.lucene.queryParser.core.nodes.QueryNodeImpl から継承されたメソッド
add, add, allocate, clone, containsTag, containsTag, getChildren, getParent, getTag, getTag, getTagMap, getTags, isDefaultField, isLeaf, isRoot, set, setLeaf, setTag, setTag, unsetTag, unsetTag
 
クラス java.lang.Object から継承されたメソッド
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
インタフェース org.apache.lucene.queryParser.core.nodes.QueryNode から継承されたメソッド
add, add, containsTag, containsTag, getChildren, getParent, getTag, getTag, getTagMap, getTags, isLeaf, set, setTag, setTag, unsetTag, unsetTag
 

コンストラクタの詳細

RegexpQueryNode

public RegexpQueryNode(CharSequence field,
                       CharSequence text,
                       CharSequence flags,
                       int begin,
                       int end)
パラメータ:
field - - field name
text - - value that contains a regular expression
begin - - position in the query string
end - - position in the query string
メソッドの詳細

toString

public String toString()
定義:
インタフェース QueryNode 内の toString
オーバーライド:
クラス WildcardQueryNode 内の toString

toQueryString

public CharSequence toQueryString(EscapeQuerySyntax escaper)
定義:
インタフェース QueryNode 内の toQueryString
オーバーライド:
クラス WildcardQueryNode 内の toQueryString

toQueryString

public CharSequence toQueryString()

getFlags

public CharSequence getFlags()

cloneTree

public RegexpQueryNode cloneTree()
                          throws CloneNotSupportedException
定義:
インタフェース QueryNode 内の cloneTree
オーバーライド:
クラス WildcardQueryNode 内の cloneTree
例外:
CloneNotSupportedException


Copyright (c) 2008-2011 Masashi Nakanishi.