|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.operator.nio.model.ExcelResultSetConfiguration
public class ExcelResultSetConfiguration
A class holding information about configuration of the Excel Result Set
| Constructor Summary | |
|---|---|
ExcelResultSetConfiguration()
This will create a completely empty result set configuration |
|
ExcelResultSetConfiguration(ExcelExampleSource excelExampleSource)
This constructor must read in all settings from the parameters of the given operator. |
|
| Method Summary | |
|---|---|
void |
close()
Closes all resources associated with this factory. |
void |
closeWorkbook()
|
int |
getColumnLast()
|
int |
getColumnOffset()
Returns the ColumnOffset |
java.io.File |
getFile()
This returns the file of the referenced excel file |
java.lang.String |
getResourceName()
Returns the human readable name of the resource read (most often, this will be a file or URL). |
int |
getRowLast()
|
int |
getRowOffset()
Returns the RowOffset |
int |
getSheet()
|
jxl.Workbook |
getWorkbook()
This will return a workbook if already delivered with the configuration. |
boolean |
hasWorkbook()
Returns whether getWorkbook() can be called without blocking. |
boolean |
isEmulatingOldNames()
This returns whether the old naming style should be kept from prior to 5.1.000 versions. |
DataResultSet |
makeDataResultSet(Operator operator)
Creates a result set. |
ExampleSetMetaData |
makeMetaData()
Makes initial meta data. |
javax.swing.table.TableModel |
makePreviewTableModel(ProgressListener listener)
|
void |
parseExcelRange(java.lang.String range)
|
void |
setColumnLast(int columnLast)
|
void |
setColumnOffset(int columnOffset)
|
void |
setParameters(AbstractDataResultSetReader source)
Sets the configuration parameters in the given reader operator. |
void |
setRowLast(int rowLast)
|
void |
setRowOffset(int rowOffset)
|
void |
setSheet(int sheet)
|
void |
setWorkbookFile(java.io.File selectedFile)
This will set the workbook file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExcelResultSetConfiguration(ExcelExampleSource excelExampleSource)
throws OperatorException
OperatorExceptionpublic ExcelResultSetConfiguration()
| Method Detail |
|---|
public int getRowOffset()
public int getColumnOffset()
public boolean hasWorkbook()
getWorkbook() can be called without blocking.
public jxl.Workbook getWorkbook()
throws jxl.read.biff.BiffException,
java.io.IOException
java.io.IOException
jxl.read.biff.BiffExceptionpublic java.io.File getFile()
public void setWorkbookFile(java.io.File selectedFile)
public int getRowLast()
public void setRowLast(int rowLast)
public int getColumnLast()
public void setColumnLast(int columnLast)
public int getSheet()
public void setSheet(int sheet)
public void setRowOffset(int rowOffset)
public void setColumnOffset(int columnOffset)
public DataResultSet makeDataResultSet(Operator operator)
throws OperatorException
DataResultSetFactoryDataResultSetFactory.close() after using this method.
makeDataResultSet in interface DataResultSetFactoryOperatorException
public javax.swing.table.TableModel makePreviewTableModel(ProgressListener listener)
throws OperatorException
makePreviewTableModel in interface DataResultSetFactoryOperatorExceptionpublic void closeWorkbook()
public void setParameters(AbstractDataResultSetReader source)
DataResultSetFactory
setParameters in interface DataResultSetFactory
public void parseExcelRange(java.lang.String range)
throws OperatorException
OperatorExceptionpublic java.lang.String getResourceName()
DataResultSetFactory
getResourceName in interface DataResultSetFactorypublic ExampleSetMetaData makeMetaData()
DataResultSetFactoryDataResultSetTranslationConfiguration
makeMetaData in interface DataResultSetFactorypublic boolean isEmulatingOldNames()
public void close()
DataResultSetFactory
close in interface DataResultSetFactory
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||