Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.basex.query.ft
Class FTOpt

    java.lang.Object
      org.basex.query.ExprInfo
          org.basex.query.ft.FTOpt

    public final class FTOpt

extends ExprInfo

This class contains all ftcontains options.

Author:
  Workgroup DBIS, University of Konstanz 2005-10, ISC License, Christian Gruen

Nested Class Summary
`static class` | `FTOpt.FTMode` Words mode.

Field Summary
`static int` | `CS` Sensitive flag.
`static int` | `DC` Diacritics flag.
`static int` | `FZ` Fuzzy flag.
`static int` | `LC` Lowercase flag.
`byte[]` | `ln` Language.
`StemDir` | `sd` Stemming dictionary.
`static int` | `ST` Stemming flag.
`StopWords` | `sw` Stopwords.
`ThesQuery` | `th` Thesaurus.
`static int` | `UC` Uppercase flag.
`static int` | `WC` Wildcards flag.

Constructor Summary
`FTOpt(Prop pr)` Constructor.

Method Summary
`void` | `comp(QueryContext ctx)` Compiles the full-text options.
`void` | `init(FTOpt opt)` Compiles the full-text options, inheriting the options of the argument.
`boolean` | `is(int f)` Returns the specified flag.
`boolean` | `isSet(int f)` Returns if the specified flag has been set.
`void` | `plan(Serializer ser)` Recursively sends the abstract syntax of this expression to the specified serializer.
`void` | `set(int f, boolean v)` Sets the specified flag.
`String` | `toString()`

Methods inherited from class org.basex.query.ExprInfo
`color, info, name`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### CS

    public static final int CS

  Sensitive flag.

  See Also:
    Constant Field Values

### LC

    public static final int LC

  Lowercase flag.

  See Also:
    Constant Field Values

### UC

    public static final int UC

  Uppercase flag.

  See Also:
    Constant Field Values

### DC

    public static final int DC

  Diacritics flag.

  See Also:
    Constant Field Values

### ST

    public static final int ST

  Stemming flag.

  See Also:
    Constant Field Values

### WC

    public static final int WC

  Wildcards flag.

  See Also:
    Constant Field Values

### FZ

    public static final int FZ

  Fuzzy flag.

  See Also:
    Constant Field Values

### sd

    public StemDir sd

  Stemming dictionary.

### sw

    public StopWords sw

  Stopwords.

### th

    public ThesQuery th

  Thesaurus.

### ln

    public byte[] ln

  Language.

Constructor Detail

### FTOpt

    public FTOpt(Prop pr)

  Constructor.

  Parameters:
    `pr` - database properties

Method Detail

### init

    public void init(FTOpt opt)

  Compiles the full-text options, inheriting the options of the argument.

  Parameters:
    `opt` - parent full-text options

### comp

    public void comp(QueryContext ctx)

  Compiles the full-text options.

  Parameters:
    `ctx` - query context

### set

    public void set(int f,
                    boolean v)

  Sets the specified flag.

  Parameters:
    `f` - flag to be set
    `v` - value

### isSet

    public boolean isSet(int f)

  Returns if the specified flag has been set.

  Parameters:
    `f` - flag index
  Returns:
    true if flag has been set

### is

    public boolean is(int f)

  Returns the specified flag.

  Parameters:
    `f` - flag index
  Returns:
    flag

### plan

    public void plan(Serializer ser)
              throws IOException

  Description copied from class: `ExprInfo`
  Recursively sends the abstract syntax of this expression to the specified serializer.

  Specified by:
    `plan` in class `ExprInfo`
  Parameters:
    `ser` - serializer
  Throws:
    `IOException` - I/O exception

### toString

    public String toString()

  Specified by:
    `toString` in class `ExprInfo`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD