Package org.utplsql.api.reporter
Class Reporter
- java.lang.Object
-
- org.utplsql.api.reporter.Reporter
-
- All Implemented Interfaces:
oracle.jdbc.internal.ObjectData,oracle.sql.ORAData
- Direct Known Subclasses:
DefaultReporter
public abstract class Reporter extends Object implements oracle.sql.ORAData
This is a basic Reporter implementation, using ORAData interface- Author:
- pesse
-
-
Field Summary
Fields Modifier and Type Field Description protected OutputBufferoutputBuffer
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected Object[]getAttributes()StringgetId()OutputBuffergetOutputBuffer()StringgetTypeName()Reporterinit(Connection con)Reporterinit(Connection con, CompatibilityProxy compatibilityProxy, ReporterFactory reporterFactory)protected abstract voidinitOutputBuffer(oracle.jdbc.OracleConnection oraConn, CompatibilityProxy compatibilityProxy)booleanisInit()protected voidsetAttributes(Object[] attributes)protected voidsetTypeName(String typeName)oracle.sql.DatumtoDatum(Connection c)
-
-
-
Field Detail
-
outputBuffer
protected OutputBuffer outputBuffer
-
-
Method Detail
-
init
public Reporter init(Connection con, CompatibilityProxy compatibilityProxy, ReporterFactory reporterFactory) throws SQLException
- Throws:
SQLException
-
init
public Reporter init(Connection con) throws SQLException
- Throws:
SQLException
-
initOutputBuffer
protected abstract void initOutputBuffer(oracle.jdbc.OracleConnection oraConn, CompatibilityProxy compatibilityProxy) throws SQLException- Throws:
SQLException
-
getAttributes
protected Object[] getAttributes()
-
setAttributes
protected void setAttributes(Object[] attributes)
-
isInit
public boolean isInit()
-
getTypeName
public String getTypeName()
-
setTypeName
protected void setTypeName(String typeName)
-
getId
public String getId()
-
toDatum
public oracle.sql.Datum toDatum(Connection c) throws SQLException
- Specified by:
toDatumin interfaceoracle.sql.ORAData- Throws:
SQLException
-
getOutputBuffer
public OutputBuffer getOutputBuffer()
-
-