|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.sas.rio.Column
This is the Column class which defines a columns' attributes. A Column object array is passed as an argument while creating a Table. The Column object array is also used while retrieving selected columns from an existing Table.
| Constructor Summary | |
Column()
Constructs a Column object. |
|
| Method Summary | |
int |
getColumnFormatDecimal()
Gets the format decimal of the column. |
int |
getColumnFormatLength()
Gets the format length of the column. |
String |
getColumnFormatName()
Gets the format name of the column. |
int |
getColumnFormatWidth()
Gets the format width of the column. |
int |
getColumnInformatDecimal()
Gets the informat decimal of the column. |
int |
getColumnInformatLength()
Gets the informat length of the column. |
String |
getColumnInformatName()
Gets the informat name of the column. |
int |
getColumnInformatWidth()
Gets the informat width of the column. |
String |
getColumnLabel()
Gets the label of the column. |
String |
getColumnName()
Gets the name of the column. |
int |
getColumnType()
Gets the SQL type of the column. |
String |
getColumnTypeName()
Gets the SQL type name of the column. |
int |
getMaxLength()
Gets the length of the column. |
void |
setColumnFormatDecimal(int formatDecimal)
Sets the format decimal of the column. |
void |
setColumnFormatLength(int formatLength)
Sets the format length of the column. |
void |
setColumnFormatName(String formatName)
Sets the format name of the column. |
void |
setColumnFormatWidth(int formatWidth)
Sets the format width of the column. |
void |
setColumnInformatDecimal(int informatDecimal)
Sets the informat decimal of the column. |
void |
setColumnInformatLength(int informatLength)
Sets the informat length of the column. |
void |
setColumnInformatName(String informatName)
Sets the informat name of the column. |
void |
setColumnInformatWidth(int informatWidth)
Sets the informat width of the column. |
void |
setColumnLabel(String columnLabel)
Sets the label of the column. |
void |
setColumnName(String columnName)
Sets the name of the column. |
void |
setColumnType(int columnType)
Sets the SQL type of the column. |
void |
setMaxLength(int maxLength)
Sets the maximum length of the column. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Column()
| Method Detail |
public String getColumnName()
throws RIOException
RIOException - This exception is never thrown.
public String getColumnLabel()
throws RIOException
RIOException - This exception is never thrown.
public int getColumnType()
throws RIOException
RIOException - This exception is never thrown.
public String getColumnTypeName()
throws RIOException
RIOException - This exception is never thrown.
public int getMaxLength()
throws RIOException
RIOException - This exception is never thrown.
public String getColumnFormatName()
throws RIOException
RIOException - This exception is never thrown.
public String getColumnInformatName()
throws RIOException
RIOException - This exception is never thrown.
public int getColumnFormatLength()
throws RIOException
RIOException - This exception is never thrown.
public int getColumnInformatLength()
throws RIOException
RIOException - This exception is never thrown.
public int getColumnFormatWidth()
throws RIOException
RIOException - This exception is never thrown.
public int getColumnInformatWidth()
throws RIOException
RIOException - This exception is never thrown.
public int getColumnFormatDecimal()
throws RIOException
RIOException - This exception is never thrown.
public int getColumnInformatDecimal()
throws RIOException
RIOException - This exception is never thrown.
public void setColumnName(String columnName)
throws RIOException
columnName - The name of the column. Column name cannot be NULL.RIOException - This exception is thrown if the name of the column is NULL.
public void setColumnLabel(String columnLabel)
throws RIOException
columnLabel - The label of the column. Column label may be NULL.RIOException - This exception is never thrown.
public void setColumnType(int columnType)
throws RIOException
coluumnType - The SQL type of the column. Should be one of the following values.
com.sas.iom.sas.BaseType._BaseTypeCharacter
com.sas.iom.sas.BaseType._BaseTypeNumeric
RIOException - This exception is thrown if column type is not valid.
public void setMaxLength(int maxLength)
throws RIOException
maxLength - The maximum length of the column. Corresponds to the size of the column.RIOException - This exception is thrown if maximum length is less than 1.
public void setColumnFormatName(String formatName)
throws RIOException
formatName - The format name of the column. Format name may be NULL.RIOException - This exception is never thrown.
public void setColumnInformatName(String informatName)
throws RIOException
informatName - The informat name of the column. Informat name may be NULL.RIOException - This exception is never thrown.
public void setColumnFormatLength(int formatLength)
throws RIOException
formatLength - The format length of the column.RIOException - This exception is never thrown.
public void setColumnInformatLength(int informatLength)
throws RIOException
informatLength - The informat length of the column.RIOException - This exception is never thrown.
public void setColumnFormatWidth(int formatWidth)
throws RIOException
formatWidth - The format width of the column. Specify
com.sas.iom.sas.RIONoFmtWidth.value to indicate no format width needs to
be persisted for the column.RIOException - This exception is never thrown.
public void setColumnInformatWidth(int informatWidth)
throws RIOException
informatWidth - The informat width of the column.Specify
com.sas.iom.sas.RIONoFmtWidth.value to indicate no informat width needs to
be persisted for the column.RIOException - This exception is never thrown.
public void setColumnFormatDecimal(int formatDecimal)
throws RIOException
formatDecimal - The format decimal of the column. Specify
com.sas.iom.sas.RIONoFmtDecimal.value to indicate no format decimal needs
to be persisted for the column.RIOException - This exception is never thrown.
public void setColumnInformatDecimal(int informatDecimal)
throws RIOException
informatDecimal - The informat decimal of the column. Specify
com.sas.iom.sas.RIONoFmtDecimal.value to indicate no informat decimal needs
to be persisted for the column.RIOException - This exception is never thrown.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||