org.basex.data
Enum Data.Type

java.lang.Object
  extended by java.lang.Enum<Data.Type>
      extended by org.basex.data.Data.Type
All Implemented Interfaces:
Serializable, Comparable<Data.Type>
Enclosing class:
Data

public static enum Data.Type
extends Enum<Data.Type>

Index types.


Enum Constant Summary
ATN
          Attribute index.
ATV
          Attribute index.
FTX
          Full-text index.
PTH
          Path index.
TAG
          Tag index.
TXT
          Text index.
 
Method Summary
static Data.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Data.Type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ATN

public static final Data.Type ATN
Attribute index.


TAG

public static final Data.Type TAG
Tag index.


TXT

public static final Data.Type TXT
Text index.


ATV

public static final Data.Type ATV
Attribute index.


FTX

public static final Data.Type FTX
Full-text index.


PTH

public static final Data.Type PTH
Path index.

Method Detail

values

public static Data.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Data.Type c : Data.Type.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Data.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null