|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lucidera.runtime.LucidDbRuntimeContext.ErrorLoggerBase
private abstract class LucidDbRuntimeContext.ErrorLoggerBase
Base class for error loggers
Field Summary | |
---|---|
private int |
errorCount
|
protected int |
fieldCount
|
private Field[] |
fields
|
protected String[] |
names
|
protected SyntheticObject |
row
|
protected Object[] |
values
|
private int |
warningCount
|
Constructor Summary | |
---|---|
private |
LucidDbRuntimeContext.ErrorLoggerBase()
|
Method Summary | |
---|---|
void |
completeDeferredException(RuntimeException ex)
Completes defered exception during record logging |
int |
getErrorCount()
Gets the number of errors processed by this logger |
protected String |
getFieldName(String tag,
int columnIndex)
Gets the name of an IterCalcRel's output column. |
protected String |
getName(int index)
Gets the name of a field |
protected String |
getRecordString()
Gets an unquoted string representation of the current record |
protected Object |
getValue(int index)
Gets the value of a field |
int |
getWarningCount()
Gets the number of warnings processed by this logger |
protected abstract EigenbaseException |
log(RuntimeException ex,
int columnIndex,
String tag,
boolean isWarning,
String errorCode,
String columnName)
Writes the current log record |
void |
log(String[] names,
Object[] values,
RuntimeException ex,
int columnIndex,
String tag,
boolean isWarning)
Writes a record to a log file |
EigenbaseException |
log(String[] names,
Object[] values,
RuntimeException ex,
int columnIndex,
String tag,
boolean isWarning,
String errorCode,
String columnName)
Writes a record to a log file |
void |
log(SyntheticObject row,
RuntimeException ex,
int columnIndex,
String tag,
boolean isWarning)
Writes a record to a log file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.lucidera.runtime.LucidDbRuntimeContext.ErrorLogger |
---|
getFilename |
Field Detail |
---|
private int errorCount
private int warningCount
protected int fieldCount
protected SyntheticObject row
private Field[] fields
protected String[] names
protected Object[] values
Constructor Detail |
---|
private LucidDbRuntimeContext.ErrorLoggerBase()
Method Detail |
---|
protected String getFieldName(String tag, int columnIndex)
tag
- error handling tag used to identify an IterCalcRelcolumnIndex
- a 1-based column index of an output column
public int getErrorCount()
LucidDbRuntimeContext.ErrorLogger
getErrorCount
in interface LucidDbRuntimeContext.ErrorLogger
public int getWarningCount()
LucidDbRuntimeContext.ErrorLogger
getWarningCount
in interface LucidDbRuntimeContext.ErrorLogger
public void log(SyntheticObject row, RuntimeException ex, int columnIndex, String tag, boolean isWarning)
log
in interface LucidDbRuntimeContext.ErrorLogger
public void log(String[] names, Object[] values, RuntimeException ex, int columnIndex, String tag, boolean isWarning)
log
in interface LucidDbRuntimeContext.ErrorLogger
public EigenbaseException log(String[] names, Object[] values, RuntimeException ex, int columnIndex, String tag, boolean isWarning, String errorCode, String columnName)
log
in interface LucidDbRuntimeContext.ErrorLogger
public void completeDeferredException(RuntimeException ex)
LucidDbRuntimeContext.ErrorLogger
completeDeferredException
in interface LucidDbRuntimeContext.ErrorLogger
protected abstract EigenbaseException log(RuntimeException ex, int columnIndex, String tag, boolean isWarning, String errorCode, String columnName)
protected String getName(int index)
index
- zero-based column indexprotected Object getValue(int index) throws IllegalAccessException
index
- zero-based column index
IllegalAccessException
protected String getRecordString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |