org.apache.oozie.store
Enum OozieSchema.OozieColumn

java.lang.Object
  extended by java.lang.Enum<OozieSchema.OozieColumn>
      extended by org.apache.oozie.store.OozieSchema.OozieColumn
All Implemented Interfaces:
Serializable, Comparable<OozieSchema.OozieColumn>, Schema.Column
Enclosing class:
OozieSchema

public static enum OozieSchema.OozieColumn
extends Enum<OozieSchema.OozieColumn>
implements Schema.Column


Enum Constant Summary
ACTIONS_conf
           
ACTIONS_consoleUrl
           
ACTIONS_data
           
ACTIONS_endTime
           
ACTIONS_errorCode
           
ACTIONS_errorMessage
           
ACTIONS_executionPath
           
ACTIONS_externalId
           
ACTIONS_externalStatus
           
ACTIONS_id
           
ACTIONS_lastCheckTime
           
ACTIONS_logToken
           
ACTIONS_name
           
ACTIONS_pending
           
ACTIONS_pendingAge
           
ACTIONS_retries
           
ACTIONS_signalValue
           
ACTIONS_startTime
           
ACTIONS_status
           
ACTIONS_trackerUri
           
ACTIONS_transition
           
ACTIONS_type
           
ACTIONS_wfId
           
PI_state
           
PI_wfId
           
VER_versionNumber
           
WF_appName
           
WF_appPath
           
WF_authToken
           
WF_conf
           
WF_createdTime
           
WF_endTime
           
WF_externalId
           
WF_groupName
           
WF_id
           
WF_lastModTime
           
WF_logToken
           
WF_protoActionConf
           
WF_run
           
WF_startTime
           
WF_status
           
WF_userName
           
 
Method Summary
 String asLabel()
          Alias to be used by the select statement for this column
 String columnName()
          Name of the column
 int getLength()
          Returns the length of the column
 Class<?> getType()
          Returns the datatype of the column
 boolean isPrimaryKey()
          Returns if the field is a primary key or not
 Schema.Table table()
          Table to which the column belongs
 String toString()
           
static OozieSchema.OozieColumn valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OozieSchema.OozieColumn[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PI_wfId

public static final OozieSchema.OozieColumn PI_wfId

PI_state

public static final OozieSchema.OozieColumn PI_state

WF_id

public static final OozieSchema.OozieColumn WF_id

WF_externalId

public static final OozieSchema.OozieColumn WF_externalId

WF_appName

public static final OozieSchema.OozieColumn WF_appName

WF_appPath

public static final OozieSchema.OozieColumn WF_appPath

WF_conf

public static final OozieSchema.OozieColumn WF_conf

WF_protoActionConf

public static final OozieSchema.OozieColumn WF_protoActionConf

WF_logToken

public static final OozieSchema.OozieColumn WF_logToken

WF_status

public static final OozieSchema.OozieColumn WF_status

WF_run

public static final OozieSchema.OozieColumn WF_run

WF_lastModTime

public static final OozieSchema.OozieColumn WF_lastModTime

WF_createdTime

public static final OozieSchema.OozieColumn WF_createdTime

WF_startTime

public static final OozieSchema.OozieColumn WF_startTime

WF_endTime

public static final OozieSchema.OozieColumn WF_endTime

WF_userName

public static final OozieSchema.OozieColumn WF_userName

WF_groupName

public static final OozieSchema.OozieColumn WF_groupName

WF_authToken

public static final OozieSchema.OozieColumn WF_authToken

ACTIONS_id

public static final OozieSchema.OozieColumn ACTIONS_id

ACTIONS_name

public static final OozieSchema.OozieColumn ACTIONS_name

ACTIONS_type

public static final OozieSchema.OozieColumn ACTIONS_type

ACTIONS_wfId

public static final OozieSchema.OozieColumn ACTIONS_wfId

ACTIONS_conf

public static final OozieSchema.OozieColumn ACTIONS_conf

ACTIONS_status

public static final OozieSchema.OozieColumn ACTIONS_status

ACTIONS_externalStatus

public static final OozieSchema.OozieColumn ACTIONS_externalStatus

ACTIONS_errorCode

public static final OozieSchema.OozieColumn ACTIONS_errorCode

ACTIONS_errorMessage

public static final OozieSchema.OozieColumn ACTIONS_errorMessage

ACTIONS_transition

public static final OozieSchema.OozieColumn ACTIONS_transition

ACTIONS_retries

public static final OozieSchema.OozieColumn ACTIONS_retries

ACTIONS_startTime

public static final OozieSchema.OozieColumn ACTIONS_startTime

ACTIONS_endTime

public static final OozieSchema.OozieColumn ACTIONS_endTime

ACTIONS_lastCheckTime

public static final OozieSchema.OozieColumn ACTIONS_lastCheckTime

ACTIONS_data

public static final OozieSchema.OozieColumn ACTIONS_data

ACTIONS_externalId

public static final OozieSchema.OozieColumn ACTIONS_externalId

ACTIONS_trackerUri

public static final OozieSchema.OozieColumn ACTIONS_trackerUri

ACTIONS_consoleUrl

public static final OozieSchema.OozieColumn ACTIONS_consoleUrl

ACTIONS_executionPath

public static final OozieSchema.OozieColumn ACTIONS_executionPath

ACTIONS_pending

public static final OozieSchema.OozieColumn ACTIONS_pending

ACTIONS_pendingAge

public static final OozieSchema.OozieColumn ACTIONS_pendingAge

ACTIONS_signalValue

public static final OozieSchema.OozieColumn ACTIONS_signalValue

ACTIONS_logToken

public static final OozieSchema.OozieColumn ACTIONS_logToken

VER_versionNumber

public static final OozieSchema.OozieColumn VER_versionNumber
Method Detail

values

public static OozieSchema.OozieColumn[] 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 (OozieSchema.OozieColumn c : OozieSchema.OozieColumn.values())
    System.out.println(c);

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

valueOf

public static OozieSchema.OozieColumn 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

columnName

public String columnName()
Description copied from interface: Schema.Column
Name of the column

Specified by:
columnName in interface Schema.Column
Returns:
column name

toString

public String toString()
Overrides:
toString in class Enum<OozieSchema.OozieColumn>

table

public Schema.Table table()
Description copied from interface: Schema.Column
Table to which the column belongs

Specified by:
table in interface Schema.Column
Returns:
table name

getType

public Class<?> getType()
Description copied from interface: Schema.Column
Returns the datatype of the column

Specified by:
getType in interface Schema.Column
Returns:
column type

getLength

public int getLength()
Description copied from interface: Schema.Column
Returns the length of the column

Specified by:
getLength in interface Schema.Column
Returns:

asLabel

public String asLabel()
Description copied from interface: Schema.Column
Alias to be used by the select statement for this column

Specified by:
asLabel in interface Schema.Column
Returns:
alias for column

isPrimaryKey

public boolean isPrimaryKey()
Description copied from interface: Schema.Column
Returns if the field is a primary key or not

Specified by:
isPrimaryKey in interface Schema.Column
Returns:
true if field is a primary key


Copyright © 2012 Apache Software Foundation. All Rights Reserved.