TPTP 4.3.0 Monitoring Tools Project
Internal API Specification

org.eclipse.hyades.logging.parsers.internal.adapter.outputters
Class CBEtoCSVOutputter

java.lang.Object
  extended byorg.eclipse.hyades.logging.adapter.impl.Component
      extended byorg.eclipse.hyades.logging.adapter.impl.ProcessUnit
          extended byorg.eclipse.hyades.logging.adapter.impl.Outputter
              extended byorg.eclipse.hyades.logging.parsers.internal.adapter.outputters.CBEProducerToConsumerNavigator
                  extended byorg.eclipse.hyades.logging.parsers.internal.adapter.outputters.CBEtoCSVOutputter
All Implemented Interfaces:
org.eclipse.hyades.logging.adapter.IComponent, org.eclipse.hyades.logging.adapter.IOutputter, org.eclipse.hyades.logging.adapter.IProcessUnit

public class CBEtoCSVOutputter
extends CBEProducerToConsumerNavigator

Since:
4.2 This outputter creates CSV files that will be used to load the data into a TPTP large resource database.

Field Summary
protected  int ABSTRACTDEFAULTEVENT
           
protected  int AbstractDefaultEvent_TYPE_Index
           
protected  byte[] agentDBId
           
protected  java.lang.String agentProxyURI
           
protected  java.lang.String agentResourceURI
           
protected  int baseID
           
static int BUFFER_SIZE
           
protected  int CBEAVAILABLESITUATION
           
protected  int CBEAvailableSituation_TYPE_Index
           
protected  int CBECOMMONBASEEVENT
           
protected  int CBECOMMONBASEEVENT_CONTEXTDATAELEMENTS
           
protected  int CBECOMMONBASEEVENT_OTHERDATA
           
protected  int CBECommonBaseEvent_TYPE_Index
           
protected  int CBECOMPONENTIDENTIFICATION
           
protected  int CBEComponentIdentification_TYPE_Index
           
protected  int CBECONFIGURESITUATION
           
protected  int CBEConfigureSituation_TYPE_Index
           
protected  int CBECONNECTSITUATION
           
protected  int CBEConnectSituation_TYPE_Index
           
protected  int CBECONTEXTDATAELEMENT
           
protected  int CBEContextDataElement_TYPE_Index
           
protected  int CBECREATESITUATION
           
protected  int CBECreateSituation_TYPE_Index
           
protected  int CBEDEFAULTELEMENT
           
protected  int CBEDEFAULTELEMENT_CHILDREN
           
protected  int CBEDefaultElement_TYPE_Index
           
protected  int CBEDEFAULTELEMENT_VALUES
           
protected  int CBEDEFAULTEVENT
           
protected  int CBEDEFAULTEVENT_EXTENDEDPROPERTIES
           
protected  int CBEDefaultEvent_TYPE_Index
           
protected  int CBEDEPENDENCYSITUATION
           
protected  int CBEDependencySituation_TYPE_Index
           
protected  int CBEDESTROYSITUATION
           
protected  int CBEDestroySituation_TYPE_Index
           
protected  int CBEEXTENDEDDATAELEMENT
           
protected  int CBEExtendedDataElement_TYPE_Index
           
protected  int CBEFEATURESITUATION
           
protected  int CBEFeatureSituation_TYPE_Index
           
protected  int CBEMSGDATAELEMENT
           
protected  int CBEMSGDATAELEMENT_MSGCATALOGTOKENS
           
protected  int CBEMsgDataElement_TYPE_Index
           
protected  int CBEOTHERSITUATION
           
protected  int CBEOTHERSITUATION_ANYDATA
           
protected  int CBEOtherSituation_TYPE_Index
           
protected  int CBEREPORTSITUATION
           
protected  int CBEReportSituation_TYPE_Index
           
protected  int CBEREQUESTSITUATION
           
protected  int CBERequestSituation_TYPE_Index
           
protected  int CBESITUATION
           
protected  int CBESituation_TYPE_Index
           
protected  int CBESTARTSITUATION
           
protected  int CBEStartSituation_TYPE_Index
           
protected  int CBESTOPSITUATION
           
protected  int CBEStopSituation_TYPE_Index
           
protected  java.util.Properties dbConnectionProperties
           
protected  java.util.Map dbIds
           
protected  java.lang.String dbJDBCLocation
           
protected  java.lang.String dbLocation
           
protected  java.lang.String dbPassword
           
protected  java.lang.String dbType
           
protected  java.lang.String dbUsername
           
 boolean deleteCSVFiles
           
protected  byte[] DELIMITER
           
protected  java.lang.String dirPrefix
           
static java.lang.String ENCODING
           
protected  byte[] FALSE
           
static java.lang.String[] fileNamesPrefix
           
protected  org.eclipse.hyades.models.hierarchy.util.IHyadesResourceExtension hyadesResourceExtension
           
protected  int ID_TABLE
           
protected  java.lang.String[] importCommandArgs
           
protected  java.lang.String[] importCommands
           
protected  java.io.File importSciptFile
           
protected  java.lang.String importSciptFileName
           
protected  java.io.BufferedOutputStream importScriptOutputStream
           
static java.lang.String LARGE_RESOURCE_SUPPORT_CURRENT_DBTYPE
           
static java.lang.String LARGE_RESOURCE_SUPPORT_JDBC_LOCATION
           
static java.lang.String LARGE_RESOURCE_SUPPORT_LOCATION
           
static java.lang.String LARGE_RESOURCE_SUPPORT_PASSWORD
           
static java.lang.String LARGE_RESOURCE_SUPPORT_USERNAME
           
protected  int lastId
           
 boolean loadCSVFiles
           
static java.util.Hashtable locks
           
protected static byte[] NEWLINE
           
protected  java.io.File[] outputFiles
           
protected  java.io.OutputStream[] outputStreams
           
protected  java.lang.String postFix
           
protected  int PROXY_TABLE
           
protected  byte[] QUOTES
           
protected  int RESOURCE_TABLE
           
protected  boolean saveResourceAndAgent
           
protected  java.lang.StringBuffer sb
           
protected  byte[] SLASH
           
protected  int TRCAGENT
           
protected  int TRCAgent_TYPE_Index
           
protected  int TRCAGENTPROXY
           
protected  int TRCAgentProxy_TYPE_Index
           
protected  int typeBaseId
           
static byte[][] typesIds
           
 
Fields inherited from class org.eclipse.hyades.logging.parsers.internal.adapter.outputters.CBEProducerToConsumerNavigator
AvailableSituation_TYPE_HashCode, calls, cbeCount, ConfigureSituation_TYPE_HashCode, ConnectSituation_TYPE_HashCode, CreateSituation_TYPE_HashCode, DependencySituation_TYPE_HashCode, DestroySituation_TYPE_HashCode, eventsProcessed, FeatureSituation_TYPE_HashCode, OtherSituation_TYPE_HashCode, p, ReportSituation_TYPE_HashCode, RequestSituation_TYPE_HashCode, Situation_TYPE_HashCode, StartSituation_TYPE_HashCode, StopSituation_TYPE_HashCode
 
Fields inherited from class org.eclipse.hyades.logging.adapter.impl.ProcessUnit
flushingMode
 
Fields inherited from class org.eclipse.hyades.logging.adapter.impl.Component
logger, status, stopping
 
Constructor Summary
CBEtoCSVOutputter()
           
 
Method Summary
protected  boolean db2AdminProcExists()
           
protected  byte[] escape(java.lang.String data)
           
protected  int getAgentId()
           
protected  byte[] getDBId(org.eclipse.emf.ecore.EObject eObject)
           
protected  byte[] getDBParentPath(org.eclipse.emf.ecore.EObject eObject)
           
protected  byte[] getDBPath(org.eclipse.emf.ecore.EObject eObject)
           
protected  java.lang.String getImportCommand(java.lang.String tableName)
           
protected  int getLastDBId()
           
protected  java.lang.String getQuotes()
           
protected  int getSituationStreamIndex(int situationTypeHashCode)
           
protected  byte[] getSituationTypeId(int situationTypeHashCode)
           
protected  void loadCSVFiles()
           
protected  java.lang.Object loadTable(java.lang.String loadTableCommand)
           
protected  java.lang.Object loadTableUsingDB2(java.lang.String loadTableCommand)
           
protected  java.lang.Object loadTableUsingDerby(java.lang.String loadTableCommand)
           
protected  void mapAssociatedEvents(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent object, int common_base_event__associated_events)
           
protected  void mapAttribute(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.AvailableSituation eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.ComponentIdentification eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.ConfigureSituation eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.ConnectSituation eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.ContextDataElement eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.CreateSituation eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.DependencySituation eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.DestroySituation eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.ExtendedDataElement eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.FeatureSituation eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.MsgDataElement eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.OtherSituation eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.ReportSituation eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.RequestSituation eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.Situation eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.SituationType eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.StartSituation eObject, int sourceFeatureID, int targetFeatureID)
           
protected  void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.StopSituation eObject, int sourceFeatureID, int targetFeatureID)
           
protected  org.eclipse.hyades.logging.events.cbe.CommonBaseEvent[] processCBEs(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent[] events)
          Process the CommonBaseEvent events passed in.
protected  void processFeatures(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent eObject)
           
protected  void processFeatures(org.eclipse.hyades.logging.events.cbe.ExtendedDataElement eObject)
           
protected  void setImportCommand(int i, java.lang.String tableName, java.lang.String columns)
           
 void start()
           
 void stop()
           
 void update()
          Update the configuration based on the configuration Element
protected  void updateLastID()
           
protected  void write(java.io.OutputStream outputStream, byte[] data)
           
protected  void write(java.io.OutputStream outputStream, int data)
           
protected  void write(java.io.OutputStream outputStream, java.lang.Object data)
           
protected  void writeDL(java.io.OutputStream outputStream, byte[] data)
           
protected  void writeDL(java.io.OutputStream outputStream, double data)
           
protected  void writeDL(java.io.OutputStream outputStream, int data)
           
protected  void writeDL(java.io.OutputStream outputStream, java.lang.Object data)
           
protected  void writeDL(java.io.OutputStream outputStream, short data)
           
protected  void writeDL(java.io.OutputStream outputStream, java.lang.String data)
           
protected  void writeNL(java.io.OutputStream outputStream, byte[] data)
           
protected  void writeNL(java.io.OutputStream outputStream, double data)
           
protected  void writeNL(java.io.OutputStream outputStream, int data)
           
protected  void writeNL(java.io.OutputStream outputStream, java.lang.Object data)
           
protected  void writeNL(java.io.OutputStream outputStream, short data)
           
protected  void writeNL(java.io.OutputStream outputStream, java.lang.String data)
           
protected  void writePPandID(int typeIndex, byte[] pp, byte[] id)
           
 
Methods inherited from class org.eclipse.hyades.logging.parsers.internal.adapter.outputters.CBEProducerToConsumerNavigator
mapContainmentReference, normalizeObject, postProcessEvent, preProcessEvent, processEvent, processEventItems, processFeatures, processFeatures, processFeatures, processFeatures, processFeatures, processFeatures, processFeatures, processFeatures, processFeatures, processFeatures, processFeatures, processFeatures, processFeatures, processFeatures, processFeatures, processFeatures, processFeatures, processFeatures, testProcessEventItems
 
Methods inherited from class org.eclipse.hyades.logging.adapter.impl.ProcessUnit
flushEventItems, getProperties, setProperties, updateConfigurationPropertyChild
 
Methods inherited from class org.eclipse.hyades.logging.adapter.impl.Component
clean, getComponents, getComponentStatus, getConfiguration, getContextConfiguration, getDescription, getEventFactory, getExecutableClassName, getImplementationCreationDate, getImplementationVersion, getImplementationVersionDescription, getItemsProcessedCount, getLogger, getLoggingLevel, getName, getParent, getRole, getRoleCreationDate, getRoleVersion, getRoleVersionDescription, getUniqueID, incrementItemsProcessedCount, incrementItemsProcessedCount, init, isDisabled, isStopping, log, log, setComponents, setConfiguration, setContextConfiguration, setDescription, setDisabled, setExecutableClassName, setImplemenationCreationDate, setImplementationVersion, setImplementationVersionDescription, setLogger, setLoggingLevel, setName, setParent, setRole, setRoleCreationDate, setRoleVersion, setRoleVersionDescription, setStopping, setUniqueID, stop, trace, trace, trace, update, updateConfigurationAttribute, updateContextConfigurationAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.hyades.logging.adapter.IProcessUnit
flushEventItems
 
Methods inherited from interface org.eclipse.hyades.logging.adapter.IComponent
getComponents, getConfiguration, getContextConfiguration, getDescription, getExecutableClassName, getImplementationCreationDate, getImplementationVersion, getImplementationVersionDescription, getLogger, getLoggingLevel, getName, getParent, getRole, getRoleCreationDate, getRoleVersion, getRoleVersionDescription, getUniqueID, init, log, log, setComponents, setConfiguration, setContextConfiguration, setDescription, setExecutableClassName, setImplemenationCreationDate, setImplementationVersion, setImplementationVersionDescription, setLogger, setLoggingLevel, setName, setParent, setRole, setRoleCreationDate, setRoleVersion, setRoleVersionDescription, setUniqueID, update
 

Field Detail

LARGE_RESOURCE_SUPPORT_PASSWORD

public static final java.lang.String LARGE_RESOURCE_SUPPORT_PASSWORD
See Also:
Constant Field Values

LARGE_RESOURCE_SUPPORT_USERNAME

public static final java.lang.String LARGE_RESOURCE_SUPPORT_USERNAME
See Also:
Constant Field Values

LARGE_RESOURCE_SUPPORT_LOCATION

public static final java.lang.String LARGE_RESOURCE_SUPPORT_LOCATION
See Also:
Constant Field Values

LARGE_RESOURCE_SUPPORT_CURRENT_DBTYPE

public static final java.lang.String LARGE_RESOURCE_SUPPORT_CURRENT_DBTYPE
See Also:
Constant Field Values

LARGE_RESOURCE_SUPPORT_JDBC_LOCATION

public static final java.lang.String LARGE_RESOURCE_SUPPORT_JDBC_LOCATION
See Also:
Constant Field Values

NEWLINE

protected static final byte[] NEWLINE

ENCODING

public static java.lang.String ENCODING

BUFFER_SIZE

public static int BUFFER_SIZE

DELIMITER

protected byte[] DELIMITER

QUOTES

protected byte[] QUOTES

FALSE

protected byte[] FALSE

SLASH

protected byte[] SLASH

dbType

protected java.lang.String dbType

dbLocation

protected java.lang.String dbLocation

dbUsername

protected java.lang.String dbUsername

dbPassword

protected java.lang.String dbPassword

baseID

protected int baseID

ABSTRACTDEFAULTEVENT

protected int ABSTRACTDEFAULTEVENT

CBEAVAILABLESITUATION

protected int CBEAVAILABLESITUATION

CBECOMMONBASEEVENT

protected int CBECOMMONBASEEVENT

CBECOMMONBASEEVENT_CONTEXTDATAELEMENTS

protected int CBECOMMONBASEEVENT_CONTEXTDATAELEMENTS

CBECOMMONBASEEVENT_OTHERDATA

protected int CBECOMMONBASEEVENT_OTHERDATA

CBECOMPONENTIDENTIFICATION

protected int CBECOMPONENTIDENTIFICATION

CBECONFIGURESITUATION

protected int CBECONFIGURESITUATION

CBECONNECTSITUATION

protected int CBECONNECTSITUATION

CBECONTEXTDATAELEMENT

protected int CBECONTEXTDATAELEMENT

CBECREATESITUATION

protected int CBECREATESITUATION

CBEDEFAULTELEMENT

protected int CBEDEFAULTELEMENT

CBEDEFAULTELEMENT_CHILDREN

protected int CBEDEFAULTELEMENT_CHILDREN

CBEDEFAULTELEMENT_VALUES

protected int CBEDEFAULTELEMENT_VALUES

CBEDEFAULTEVENT

protected int CBEDEFAULTEVENT

CBEDEFAULTEVENT_EXTENDEDPROPERTIES

protected int CBEDEFAULTEVENT_EXTENDEDPROPERTIES

CBEDEPENDENCYSITUATION

protected int CBEDEPENDENCYSITUATION

CBEDESTROYSITUATION

protected int CBEDESTROYSITUATION

CBEEXTENDEDDATAELEMENT

protected int CBEEXTENDEDDATAELEMENT

CBEFEATURESITUATION

protected int CBEFEATURESITUATION

CBEMSGDATAELEMENT

protected int CBEMSGDATAELEMENT

CBEMSGDATAELEMENT_MSGCATALOGTOKENS

protected int CBEMSGDATAELEMENT_MSGCATALOGTOKENS

CBEOTHERSITUATION

protected int CBEOTHERSITUATION

CBEOTHERSITUATION_ANYDATA

protected int CBEOTHERSITUATION_ANYDATA

CBEREPORTSITUATION

protected int CBEREPORTSITUATION

CBEREQUESTSITUATION

protected int CBEREQUESTSITUATION

CBESITUATION

protected int CBESITUATION

CBESTARTSITUATION

protected int CBESTARTSITUATION

CBESTOPSITUATION

protected int CBESTOPSITUATION

ID_TABLE

protected int ID_TABLE

PROXY_TABLE

protected int PROXY_TABLE

RESOURCE_TABLE

protected int RESOURCE_TABLE

TRCAGENT

protected int TRCAGENT

TRCAGENTPROXY

protected int TRCAGENTPROXY

typeBaseId

protected int typeBaseId

AbstractDefaultEvent_TYPE_Index

protected int AbstractDefaultEvent_TYPE_Index

CBEAvailableSituation_TYPE_Index

protected int CBEAvailableSituation_TYPE_Index

CBECommonBaseEvent_TYPE_Index

protected int CBECommonBaseEvent_TYPE_Index

CBEComponentIdentification_TYPE_Index

protected int CBEComponentIdentification_TYPE_Index

CBEConfigureSituation_TYPE_Index

protected int CBEConfigureSituation_TYPE_Index

CBEConnectSituation_TYPE_Index

protected int CBEConnectSituation_TYPE_Index

CBEContextDataElement_TYPE_Index

protected int CBEContextDataElement_TYPE_Index

CBECreateSituation_TYPE_Index

protected int CBECreateSituation_TYPE_Index

CBEDefaultElement_TYPE_Index

protected int CBEDefaultElement_TYPE_Index

CBEDefaultEvent_TYPE_Index

protected int CBEDefaultEvent_TYPE_Index

CBEDependencySituation_TYPE_Index

protected int CBEDependencySituation_TYPE_Index

CBEDestroySituation_TYPE_Index

protected int CBEDestroySituation_TYPE_Index

CBEExtendedDataElement_TYPE_Index

protected int CBEExtendedDataElement_TYPE_Index

CBEFeatureSituation_TYPE_Index

protected int CBEFeatureSituation_TYPE_Index

CBEMsgDataElement_TYPE_Index

protected int CBEMsgDataElement_TYPE_Index

CBEOtherSituation_TYPE_Index

protected int CBEOtherSituation_TYPE_Index

CBEReportSituation_TYPE_Index

protected int CBEReportSituation_TYPE_Index

CBERequestSituation_TYPE_Index

protected int CBERequestSituation_TYPE_Index

CBESituation_TYPE_Index

protected int CBESituation_TYPE_Index

CBEStartSituation_TYPE_Index

protected int CBEStartSituation_TYPE_Index

CBEStopSituation_TYPE_Index

protected int CBEStopSituation_TYPE_Index

TRCAgent_TYPE_Index

protected int TRCAgent_TYPE_Index

TRCAgentProxy_TYPE_Index

protected int TRCAgentProxy_TYPE_Index

fileNamesPrefix

public static final java.lang.String[] fileNamesPrefix

outputStreams

protected java.io.OutputStream[] outputStreams

outputFiles

protected java.io.File[] outputFiles

typesIds

public static final byte[][] typesIds

dbIds

protected java.util.Map dbIds

lastId

protected int lastId

loadCSVFiles

public boolean loadCSVFiles

deleteCSVFiles

public boolean deleteCSVFiles

sb

protected java.lang.StringBuffer sb

agentDBId

protected byte[] agentDBId

dirPrefix

protected java.lang.String dirPrefix

importCommands

protected java.lang.String[] importCommands

importCommandArgs

protected java.lang.String[] importCommandArgs

importScriptOutputStream

protected java.io.BufferedOutputStream importScriptOutputStream

importSciptFileName

protected java.lang.String importSciptFileName

dbConnectionProperties

protected java.util.Properties dbConnectionProperties

agentResourceURI

protected java.lang.String agentResourceURI

agentProxyURI

protected java.lang.String agentProxyURI

importSciptFile

protected java.io.File importSciptFile

hyadesResourceExtension

protected org.eclipse.hyades.models.hierarchy.util.IHyadesResourceExtension hyadesResourceExtension

postFix

protected java.lang.String postFix

saveResourceAndAgent

protected boolean saveResourceAndAgent

dbJDBCLocation

protected java.lang.String dbJDBCLocation

locks

public static java.util.Hashtable locks
Constructor Detail

CBEtoCSVOutputter

public CBEtoCSVOutputter()
Method Detail

update

public void update()
            throws org.eclipse.hyades.logging.adapter.AdapterInvalidConfig
Update the configuration based on the configuration Element

Specified by:
update in interface org.eclipse.hyades.logging.adapter.IComponent
Overrides:
update in class CBEProducerToConsumerNavigator
Throws:
org.eclipse.hyades.logging.adapter.AdapterInvalidConfig - if the configuration processing failed.
See Also:
IComponent.update()

getLastDBId

protected int getLastDBId()

getAgentId

protected int getAgentId()

getQuotes

protected java.lang.String getQuotes()

start

public void start()
Specified by:
start in interface org.eclipse.hyades.logging.adapter.IComponent
Overrides:
start in class CBEProducerToConsumerNavigator

setImportCommand

protected void setImportCommand(int i,
                                java.lang.String tableName,
                                java.lang.String columns)

stop

public void stop()
Specified by:
stop in interface org.eclipse.hyades.logging.adapter.IComponent
Overrides:
stop in class CBEProducerToConsumerNavigator

updateLastID

protected void updateLastID()

getImportCommand

protected java.lang.String getImportCommand(java.lang.String tableName)

loadCSVFiles

protected void loadCSVFiles()

loadTable

protected java.lang.Object loadTable(java.lang.String loadTableCommand)

loadTableUsingDerby

protected java.lang.Object loadTableUsingDerby(java.lang.String loadTableCommand)

loadTableUsingDB2

protected java.lang.Object loadTableUsingDB2(java.lang.String loadTableCommand)

mapAssociatedEvents

protected void mapAssociatedEvents(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent object,
                                   int common_base_event__associated_events)
Overrides:
mapAssociatedEvents in class CBEProducerToConsumerNavigator

mapAttribute

protected void mapAttribute(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent eObject,
                            int sourceFeatureID,
                            int targetFeatureID)
Overrides:
mapAttribute in class CBEProducerToConsumerNavigator

write

protected void write(java.io.OutputStream outputStream,
                     java.lang.Object data)

writeDL

protected void writeDL(java.io.OutputStream outputStream,
                       java.lang.Object data)

writeNL

protected void writeNL(java.io.OutputStream outputStream,
                       java.lang.Object data)

writeDL

protected void writeDL(java.io.OutputStream outputStream,
                       short data)

writeNL

protected void writeNL(java.io.OutputStream outputStream,
                       short data)

writeDL

protected void writeDL(java.io.OutputStream outputStream,
                       double data)

writeNL

protected void writeNL(java.io.OutputStream outputStream,
                       double data)

writeDL

protected void writeDL(java.io.OutputStream outputStream,
                       int data)

write

protected void write(java.io.OutputStream outputStream,
                     int data)

writeDL

protected void writeDL(java.io.OutputStream outputStream,
                       java.lang.String data)

writeNL

protected void writeNL(java.io.OutputStream outputStream,
                       java.lang.String data)

escape

protected byte[] escape(java.lang.String data)

writeDL

protected void writeDL(java.io.OutputStream outputStream,
                       byte[] data)

write

protected void write(java.io.OutputStream outputStream,
                     byte[] data)

writeNL

protected void writeNL(java.io.OutputStream outputStream,
                       byte[] data)

writeNL

protected void writeNL(java.io.OutputStream outputStream,
                       int data)

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.AvailableSituation eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

writePPandID

protected void writePPandID(int typeIndex,
                            byte[] pp,
                            byte[] id)

getSituationTypeId

protected byte[] getSituationTypeId(int situationTypeHashCode)

getSituationStreamIndex

protected int getSituationStreamIndex(int situationTypeHashCode)

getDBId

protected byte[] getDBId(org.eclipse.emf.ecore.EObject eObject)

getDBParentPath

protected byte[] getDBParentPath(org.eclipse.emf.ecore.EObject eObject)

getDBPath

protected byte[] getDBPath(org.eclipse.emf.ecore.EObject eObject)

processCBEs

protected org.eclipse.hyades.logging.events.cbe.CommonBaseEvent[] processCBEs(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent[] events)
Description copied from class: CBEProducerToConsumerNavigator
Process the CommonBaseEvent events passed in.

Overrides:
processCBEs in class CBEProducerToConsumerNavigator
Parameters:
events - - array of CommonBaseEvent objects to process
Returns:
the same array of CommonBaseEvent objects that was passed in.

processFeatures

protected void processFeatures(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent eObject)
Overrides:
processFeatures in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.ComponentIdentification eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.ConfigureSituation eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.ConnectSituation eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.ContextDataElement eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.CreateSituation eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.DependencySituation eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.DestroySituation eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

processFeatures

protected void processFeatures(org.eclipse.hyades.logging.events.cbe.ExtendedDataElement eObject)
Overrides:
processFeatures in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.ExtendedDataElement eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.FeatureSituation eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.MsgDataElement eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.OtherSituation eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.ReportSituation eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.RequestSituation eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.Situation eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.SituationType eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.StartSituation eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

mapContainmentReference

protected void mapContainmentReference(org.eclipse.hyades.logging.events.cbe.StopSituation eObject,
                                       int sourceFeatureID,
                                       int targetFeatureID)
Overrides:
mapContainmentReference in class CBEProducerToConsumerNavigator

db2AdminProcExists

protected boolean db2AdminProcExists()

TPTP 4.3.0 Monitoring Tools Project
Internal API Specification