|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.iastate.anthill.indus.query.ARFFParser
| Field Summary | |
(package private) java.util.ArrayList |
AttributeList
The list of attributes of the data source |
(package private) java.util.ArrayList |
AttributeTypeList
|
(package private) java.util.ArrayList[] |
AttributeValueList
|
(package private) java.sql.Connection |
conn
Connection to the database. |
(package private) java.lang.String |
FileURL
URL of the ARFF File |
(package private) java.lang.String |
LocalCopyOfFile
Copy the file from the Internet into the local machine. |
(package private) int |
totalNumInstances
The total number of instances in the data source |
| Constructor Summary | |
ARFFParser(java.lang.String fileURL,
java.lang.String DataSourceName)
Default Constructor |
|
| Method Summary | |
java.util.ArrayList |
getAttributeList()
This method returns the attributes of the data source. |
java.util.ArrayList |
getAttributeTypeList()
This method returns the types of those attributes for the data source. |
int |
getTotalNumInstances()
This method returns the total number of instances in the ARFF File. |
void |
InsertARFFIntoRDBMS(java.sql.Connection conn,
java.lang.String DataTableName)
This method stores the ARFF data into a RDBMS. |
java.sql.ResultSet |
RetrieveSchema(java.sql.Connection conn,
java.lang.String TableName)
This method returns a resultset containing the schema information for a particular table. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
java.sql.Connection conn
java.lang.String FileURL
int totalNumInstances
java.lang.String LocalCopyOfFile
java.util.ArrayList AttributeList
java.util.ArrayList AttributeTypeList
java.util.ArrayList[] AttributeValueList
| Constructor Detail |
public ARFFParser(java.lang.String fileURL,
java.lang.String DataSourceName)
throws java.lang.Exception
fileURL - the url where the file is located.DataSourceName - the name of the ARFF data source.
java.lang.Exception| Method Detail |
public void InsertARFFIntoRDBMS(java.sql.Connection conn,
java.lang.String DataTableName)
throws java.lang.Exception
conn - the SQL Connection.
java.lang.Exception - Last Modified - 2:22:31 PM, Mar 23, 2005
public java.sql.ResultSet RetrieveSchema(java.sql.Connection conn,
java.lang.String TableName)
throws java.lang.Exception
conn - SQLConnection.
java.lang.Exception - Last Modified - 1:37:15 PM, Mar 23, 2005public java.util.ArrayList getAttributeList()
public java.util.ArrayList getAttributeTypeList()
public int getTotalNumInstances()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||