public class CCDInfo
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static short |
STATUS_BUILDING
Indicates a cube's status is building (value=2).
|
static short |
STATUS_COMPLETED
Indicates a cube's status is completed (value=4).
|
static short |
STATUS_DISABLED
Indicates a cube's status is disabled (value=5).
|
static short |
STATUS_PENDING
Indicates a cube's status is pending (value=1).
|
static short |
STATUS_UPDATING
Indicates a cube's status is updating (value=3).
|
Constructor and Description |
---|
CCDInfo(java.lang.String catalogPath,
java.lang.String dataSource,
java.lang.String connName)
Constructs
CCDInfo with specified catalog path, data source name, and connection name. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Compares the object if equals to this.
|
java.lang.String |
getCatalogName()
Gets catalog name of this
CCDInfo . |
java.lang.String |
getCatalogPath()
Gets catalog path of this
CCDInfo . |
CCDInfoKey |
getCCDKey()
Gets
CCD key. |
java.lang.String |
getConnName()
Gets query name of this
CCDInfo . |
long |
getCreatedTime()
Gets created time of this
CCDInfo . |
java.lang.String |
getDataSource()
Gets data source of this
CCDInfo . |
java.util.Date |
getLastModified()
Gets last modified of this
CCDInfo . |
java.lang.String |
getLoginUser() |
java.lang.String |
getParamFile()
Gets parameter file of running
CCD to generate result. |
java.util.Map<java.lang.String,java.lang.String[]> |
getParamValues()
Returns parameter values.
|
java.util.Vector<CCDRunDetail> |
getRunDetails()
get detailed info of every time crd run.
|
java.util.Map<java.lang.String,java.lang.String[]> |
getRuntimeParamValues()
Returns runtime parameter values.
|
int |
getRunTimes()
get how many times crd is run after crd created.
|
short |
getStatus()
get status of a cube, return value may be may be
STATUS_PENDING , STATUS_BUILDING , STATUS_BUILDING ,
STATUS_UPDATING , STATUS_COMPLETED , or STATUS_DISABLED . |
java.lang.String |
getTaskId()
Gets task id.
|
void |
setCatalogPath(java.lang.String catalogPath)
Sets catalog path of this
CCDInfo catalog resource tree real path. |
void |
setConnName(java.lang.String connName)
Sets connection name of this
CCDInfo . |
void |
setCreatedTime(long createdTime)
Sets created time of this
CCDInfo . |
void |
setDataSource(java.lang.String dataSource)
Sets data source of this
CCDInfo . |
void |
setLastModified(java.util.Date lastModified)
Sets last modified of this
CCDInfo . |
void |
setLoginUser(java.lang.String loginUser) |
void |
setParamFile(java.lang.String paramFile)
Sets parameter file of running
CCD to generate result. |
void |
setTaskId(java.lang.String taskId)
Sets task id.
|
java.lang.String |
toString()
Converts this object to string information.
|
public static final short STATUS_PENDING
public static final short STATUS_BUILDING
public static final short STATUS_UPDATING
public static final short STATUS_COMPLETED
public static final short STATUS_DISABLED
public CCDInfo(java.lang.String catalogPath, java.lang.String dataSource, java.lang.String connName)
CCDInfo
with specified catalog path, data source name, and connection name.catalogPath
- catalog path.dataSource
- data source.connName
- connection name.public java.lang.String getCatalogName()
CCDInfo
.CCDInfo
.public java.util.Date getLastModified()
CCDInfo
.CCDInfo
.public void setLastModified(java.util.Date lastModified)
CCDInfo
.lastModified
- last modified of this CCDInfo
.public long getCreatedTime()
CCDInfo
.CCDInfo
.public void setCreatedTime(long createdTime)
CCDInfo
.createdTime
- createdTime of this CCDInfo
.public java.lang.String getParamFile()
CCD
to generate result.CCD
to generate result.public void setParamFile(java.lang.String paramFile)
CCD
to generate result.paramFile
- parameter file of running CCD
to generate result.public java.lang.String getCatalogPath()
CCDInfo
.CCDInfo
.public java.lang.String getDataSource()
CCDInfo
.CCDInfo
.public java.lang.String getConnName()
CCDInfo
.CCDInfo
.public void setCatalogPath(java.lang.String catalogPath)
CCDInfo
catalog resource tree real path.catalogPath
- catalog path, resource tree real path.public void setDataSource(java.lang.String dataSource)
CCDInfo
.dataSource
- data source of this CCDInfo
.public void setConnName(java.lang.String connName)
CCDInfo
.connName
- connection name of this CCDInfo
.public java.util.Map<java.lang.String,java.lang.String[]> getParamValues()
public java.util.Map<java.lang.String,java.lang.String[]> getRuntimeParamValues()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the object to be comparedpublic java.lang.String getTaskId()
public void setTaskId(java.lang.String taskId)
taskId
- task id.public CCDInfoKey getCCDKey()
CCD
key.CCD
key.public int getRunTimes()
public java.util.Vector<CCDRunDetail> getRunDetails()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getLoginUser()
public void setLoginUser(java.lang.String loginUser)
public short getStatus()
STATUS_PENDING
, STATUS_BUILDING
, STATUS_BUILDING
,
STATUS_UPDATING
, STATUS_COMPLETED
, or STATUS_DISABLED
.