Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.udo.cs.miningmart.compiler.wrapper.dista
Class Wrapper

    java.lang.Object
      edu.udo.cs.miningmart.compiler.wrapper.dista.Wrapper

Direct Known Subclasses:
  C45Wrapper, CorrelWrapper

    public abstract class Wrapper

extends java.lang.Object

Superclass for all Dista wrappers.

Version:
  $Id: Wrapper.java,v 1.5 2006/09/27 15:00:03 euler Exp $
Author:
  Alessandro Serra, Timm Euler

Field Summary
`protected boolean` | `m_do_clean`
`protected java.io.OutputStream` | `m_log`
`protected MetaData` | `m_md`
`protected java.lang.String` | `m_ml_home`
`protected java.lang.String` | `m_os_name`
`protected java.util.Properties` | `m_properties`
`protected java.lang.String` | `m_result_name`
`protected long` | `m_sample_size`
`protected CompilerDatabaseService` | `m4db`

Constructor Summary
`Wrapper(Step step, ExecutableOperator exOp)`

Method Summary
`protected void` | `callScript(java.lang.String command)`
`protected abstract void` | `callTool()`
`protected abstract void` | `checkMetaData()`
`protected abstract void` | `clean()`
`protected abstract void` | `exportTable()`
`protected java.lang.String` | `getArtificalColumnName(java.lang.String otherColumns)`
`protected ExecutableOperator` | `getExecutableOperator()`
`CompilerDatabaseService` | `getM4Db()`
`protected double` | `getSampleRatio(long sampleSize, java.lang.String tableName, java.lang.String columnName)`
`Step` | `getStep()`
`protected abstract void` | `importResult()`
`void` | `run()`
`protected abstract void` | `saveResult()`
`void` | `setConnection(CompilerDatabaseService m4db)`
`void` | `setMetaData(MetaData md)`
`void` | `setProperties(java.util.Properties p)`
`void` | `setResultName(java.lang.String v)`
`void` | `setSampleSize(long v)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### m_md

    protected MetaData m_md

### m4db

    protected CompilerDatabaseService m4db

### m_properties

    protected java.util.Properties m_properties

### m_result_name

    protected java.lang.String m_result_name

### m_sample_size

    protected long m_sample_size

### m_do_clean

    protected boolean m_do_clean

### m_log

    protected java.io.OutputStream m_log

### m_ml_home

    protected java.lang.String m_ml_home

### m_os_name

    protected java.lang.String m_os_name

Constructor Detail

### Wrapper

    public Wrapper(Step step,
                   ExecutableOperator exOp)
            throws java.lang.Exception

Throws:
  `java.lang.Exception`

Method Detail

### getM4Db

    public CompilerDatabaseService getM4Db()

### setMetaData

    public void setMetaData(MetaData md)
                     throws java.lang.Exception

  Throws:
    `java.lang.Exception`

### setConnection

    public void setConnection(CompilerDatabaseService m4db)

### setProperties

    public void setProperties(java.util.Properties p)

### setResultName

    public void setResultName(java.lang.String v)

### setSampleSize

    public void setSampleSize(long v)

### run

    public void run()
             throws java.lang.Exception

  Throws:
    `java.lang.Exception`

### getExecutableOperator

    protected ExecutableOperator getExecutableOperator()

### checkMetaData

    protected abstract void checkMetaData()
                                   throws java.lang.Exception

  Throws:
    `java.lang.Exception`

### exportTable

    protected abstract void exportTable()
                                 throws java.lang.Exception

  Throws:
    `java.lang.Exception`

### callTool

    protected abstract void callTool()
                              throws java.lang.Exception

  Throws:
    `java.lang.Exception`

### importResult

    protected abstract void importResult()
                                  throws java.lang.Exception

  Throws:
    `java.lang.Exception`

### saveResult

    protected abstract void saveResult()
                                throws java.lang.Exception

  Throws:
    `java.lang.Exception`

### clean

    protected abstract void clean()
                           throws java.lang.Exception

  Throws:
    `java.lang.Exception`

### callScript

    protected void callScript(java.lang.String command)
                       throws DMException

  Throws:
    `DMException`

### getSampleRatio

    protected double getSampleRatio(long sampleSize,
                                    java.lang.String tableName,
                                    java.lang.String columnName)
                             throws DMException,
                                    DbConnectionClosed

  Throws:
    `DMException`
    `DbConnectionClosed`

### getArtificalColumnName

    protected java.lang.String getArtificalColumnName(java.lang.String otherColumns)

### getStep

    public Step getStep()

  Returns:
    the current `Step`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2005