|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<FlatFileParams.SchemaType> net.sf.farrago.namespace.flatfile.FlatFileParams.SchemaType
public static enum FlatFileParams.SchemaType
Enumeration for schema types used by the flat file reader.
Enum Constant Summary | |
---|---|
DESCRIBE
Schema name for a special type of query that returns a one column result with space separated columns sizes |
|
QUERY
Schema name for a typical query, in which columns are casted to typed data |
|
QUERY_TEXT
Schema name for a query in which columns are returned as text. |
|
SAMPLE
Schema name for a special type of query that returns parsed text columns (including headers) as they appear in a text file. |
Field Summary | |
---|---|
private String |
schemaName
|
private String[] |
schemaNames
|
private static Map<String,FlatFileParams.SchemaType> |
types
|
Method Summary | |
---|---|
String |
getSchemaName()
|
static FlatFileParams.SchemaType |
getSchemaType(String schemaName)
|
static FlatFileParams.SchemaType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FlatFileParams.SchemaType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final FlatFileParams.SchemaType DESCRIBE
public static final FlatFileParams.SchemaType SAMPLE
public static final FlatFileParams.SchemaType QUERY
public static final FlatFileParams.SchemaType QUERY_TEXT
Field Detail |
---|
private static Map<String,FlatFileParams.SchemaType> types
private String schemaName
private String[] schemaNames
Method Detail |
---|
public static final FlatFileParams.SchemaType[] values()
for(FlatFileParams.SchemaType c : FlatFileParams.SchemaType.values()) System.out.println(c);
public static FlatFileParams.SchemaType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic static FlatFileParams.SchemaType getSchemaType(String schemaName)
public String getSchemaName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |