org.gcube.contentmanagement.timeseriesservice.impl.thread
Class InsertNormalizedT

java.lang.Object
  extended by java.lang.Thread
      extended by org.gcube.contentmanagement.timeseriesservice.impl.thread.InsertThread
          extended by org.gcube.contentmanagement.timeseriesservice.impl.thread.InsertNormalizedT
All Implemented Interfaces:
Runnable

public class InsertNormalizedT
extends InsertThread

Author:
lucio

Nested Class Summary
 
Nested classes/interfaces inherited from class org.gcube.contentmanagement.timeseriesservice.impl.thread.InsertThread
InsertThread.LineProcessor
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class org.gcube.contentmanagement.timeseriesservice.impl.thread.InsertThread
columnsNumber, delimiter, encoding, fieldsMask, hasHeader, importer, logger, rslocator, session, tableName, totalEntries
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
InsertNormalizedT(String rslocator, String tableName, boolean hasHeader, char delimiter, String encoding, boolean[] fieldsMask, ImporterItem importer)
           
 
Method Summary
 void execute(net.sf.csv4j.CSVReaderProcessor processor, File fileStream)
           
 
Methods inherited from class org.gcube.contentmanagement.timeseriesservice.impl.thread.InsertThread
createTable, getResource, readStream, run
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InsertNormalizedT

public InsertNormalizedT(String rslocator,
                         String tableName,
                         boolean hasHeader,
                         char delimiter,
                         String encoding,
                         boolean[] fieldsMask,
                         ImporterItem importer)
Parameters:
logger -
session -
rslocator -
tableName -
fieldsMask -
totalEntries -
columnsNumber -
hasHeader -
delimiter -
encoding -
importer -
Method Detail

execute

public void execute(net.sf.csv4j.CSVReaderProcessor processor,
                    File fileStream)
             throws Exception
Specified by:
execute in class InsertThread
Throws:
Exception


Copyright © 2012. All Rights Reserved.