|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nlm.util.ColumnStatistics
public class ColumnStatistics
Container for statistics about file columns.
| Constructor Summary | |
|---|---|
ColumnStatistics()
Instantiates an empty ColumnStatistics. |
|
| Method Summary | |
|---|---|
void |
clear()
Clears the statistics for the column. |
double |
getAverageLength()
Returns the average length. |
String |
getColumnName()
Returns the column name. |
String |
getDataType()
Returns the data type of the column. |
int |
getDataTypeLength()
Returns the data type length of the column. |
String |
getDescription()
Returns the column description. |
String |
getFileName()
Returns the file name. |
int |
getMaxLength()
Returns the maximum length of the column. |
int |
getMinLength()
Returns the minimum length of the column. |
String |
processField(String field)
Computes statistics for the field. |
void |
setAverageLength(double new_average_length)
Sets the average length of column |
void |
setColumnName(String newcolumn_name)
Sets the column name. |
void |
setDataType(String new_data_type)
Sets the column data type. |
void |
setDataTypeLength(String new_data_type_length)
Sets the column data type length. |
void |
setDescription(String new_description)
Sets the the description. |
void |
setFileName(String newfile_name)
Sets the file name. |
void |
setMaxLength(int newMax_length)
Sets the maximum length of column |
void |
setMinLength(int newMin_length)
Set the minimum length of column |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ColumnStatistics()
ColumnStatistics.
| Method Detail |
|---|
public void clear()
public String getColumnName()
public String getFileName()
public int getMaxLength()
public int getMinLength()
public void setColumnName(String newcolumn_name)
newcolumn_name - the column namepublic void setFileName(String newfile_name)
newfile_name - the file namepublic void setMaxLength(int newMax_length)
newMax_length - the maximum lengthpublic void setMinLength(int newMin_length)
newMin_length - the minimum lengthpublic void setAverageLength(double new_average_length)
new_average_length - the average lengthpublic String getDescription()
public void setDescription(String new_description)
new_description - the column descriptionpublic double getAverageLength()
public String getDataType()
public void setDataType(String new_data_type)
new_data_type - the column data typepublic int getDataTypeLength()
public void setDataTypeLength(String new_data_type_length)
new_data_type_length - the column data type lengthpublic String processField(String field)
field - the field value to compute stats for
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||