|
||||||||||
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,
java.lang.String eventTypeName)
Ctor. |
Method Summary | |
---|---|
AdapterInputSource |
getAdapterInputSource()
|
java.lang.Integer |
getEventsPerSec()
|
java.lang.String |
geteventTypeName()
|
java.lang.String[] |
getPropertyOrder()
|
java.util.Map<java.lang.String,java.lang.Object> |
getPropertyTypes()
|
java.lang.String |
getTimestampColumn()
|
boolean |
isLooping()
|
boolean |
isUsingEngineThread()
|
boolean |
isUsingExternalTimer()
|
boolean |
isUsingTimeSpanEvents()
Returns the indicator whether CurrentTimeEvent (false, the default)
or CurrentTimeSpanEvent (true) are used for time advancing. |
void |
setAdapterInputSource(AdapterInputSource adapterInputSource)
|
void |
setEventsPerSec(int eventsPerSec)
Sets the number of events per seconds. |
void |
seteventTypeName(java.lang.String eventTypeName)
|
void |
setLooping(boolean looping)
|
void |
setPropertyOrder(java.lang.String[] propertyOrder)
|
void |
setPropertyTypes(java.util.Map<java.lang.String,java.lang.Object> propertyTypes)
Set the propertyTypes value |
void |
setTimestampColumn(java.lang.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. |
void |
setUsingExternalTimer(boolean usingExternalTimer)
Set to true to use esper's external timer mechanism instead of internal timing |
void |
setUsingTimeSpanEvents(boolean usingTimeSpanEvents)
Sets the indicator whether CurrentTimeEvent (false, the default)
or CurrentTimeSpanEvent (true) are used for time advancing. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CSVInputAdapterSpec(AdapterInputSource adapterInputSource, java.lang.String eventTypeName)
adapterInputSource
- - the source for the CSV dataeventTypeName
- - the name 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(java.lang.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(java.util.Map<java.lang.String,java.lang.Object> 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 setUsingExternalTimer(boolean usingExternalTimer)
usingExternalTimer
- true for external timerpublic boolean isUsingExternalTimer()
public void setTimestampColumn(java.lang.String timestampColumn)
timestampColumn
- - the name of the column to use for timestampspublic java.lang.String getTimestampColumn()
public AdapterInputSource getAdapterInputSource()
public void setAdapterInputSource(AdapterInputSource adapterInputSource)
adapterInputSource
- the adapterInputSource to setpublic java.lang.String geteventTypeName()
public void seteventTypeName(java.lang.String eventTypeName)
eventTypeName
- the eventTypeName to setpublic java.lang.Integer getEventsPerSec()
public boolean isLooping()
public java.lang.String[] getPropertyOrder()
public java.util.Map<java.lang.String,java.lang.Object> getPropertyTypes()
public boolean isUsingTimeSpanEvents()
CurrentTimeEvent
(false, the default)
or CurrentTimeSpanEvent
(true) are used for time advancing.
public void setUsingTimeSpanEvents(boolean usingTimeSpanEvents)
CurrentTimeEvent
(false, the default)
or CurrentTimeSpanEvent
(true) are used for time advancing.
usingTimeSpanEvents
- new value
|
© 2006-2016 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 |