|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esperio.csv.CSVInputAdapterSpec
public class CSVInputAdapterSpec
A spec for CSVAdapters.
Constructor Summary | |
---|---|
CSVInputAdapterSpec(AdapterInputSource adapterInputSource,
String eventTypeAlias)
Ctor. |
Method Summary | |
---|---|
AdapterInputSource |
getAdapterInputSource()
|
Integer |
getEventsPerSec()
|
String |
getEventTypeAlias()
|
String[] |
getPropertyOrder()
|
Map<String,Class> |
getPropertyTypes()
|
String |
getTimestampColumn()
|
boolean |
isLooping()
|
boolean |
isUsingEngineThread()
|
void |
setAdapterInputSource(AdapterInputSource adapterInputSource)
|
void |
setEventsPerSec(int eventsPerSec)
Sets the number of events per seconds. |
void |
setEventTypeAlias(String eventTypeAlias)
|
void |
setLooping(boolean looping)
|
void |
setPropertyOrder(String[] propertyOrder)
|
void |
setPropertyTypes(Map<String,Class> propertyTypes)
Set the propertyTypes value |
void |
setTimestampColumn(String timestampColumn)
Set the timestamp column name. |
void |
setUsingEngineThread(boolean usingEngineThread)
Set to true to use the engine timer thread for the work, or false to use the current thread. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CSVInputAdapterSpec(AdapterInputSource adapterInputSource, String eventTypeAlias)
adapterInputSource
- - the source for the CSV dataeventTypeAlias
- - the alias for the event type created from the CSV dataMethod Detail |
---|
public void setEventsPerSec(int eventsPerSec)
eventsPerSec
- number of events to send per secondpublic void setPropertyOrder(String[] propertyOrder)
propertyOrder
- - the property order of the properties in the CSV filepublic void setLooping(boolean looping)
looping
- - the isLooping value to setpublic void setPropertyTypes(Map<String,Class> propertyTypes)
propertyTypes
- - a mapping between the names and types of the properties in the
CSV file; this will also be the form of the Map event created
from the datapublic void setUsingEngineThread(boolean usingEngineThread)
usingEngineThread
- true for timer threadpublic boolean isUsingEngineThread()
public void setTimestampColumn(String timestampColumn)
timestampColumn
- - the name of the column to use for timestampspublic String getTimestampColumn()
public AdapterInputSource getAdapterInputSource()
public void setAdapterInputSource(AdapterInputSource adapterInputSource)
adapterInputSource
- the adapterInputSource to setpublic String getEventTypeAlias()
public void setEventTypeAlias(String eventTypeAlias)
eventTypeAlias
- the eventTypeAlias to setpublic Integer getEventsPerSec()
public boolean isLooping()
public String[] getPropertyOrder()
public Map<String,Class> getPropertyTypes()
|
© 2007 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |