com.lucidera.runtime
Class LucidDbRuntimeContext.ErrorQuotaLogger

java.lang.Object
  extended by com.lucidera.runtime.LucidDbRuntimeContext.ErrorLoggerBase
      extended by com.lucidera.runtime.LucidDbRuntimeContext.ErrorQuotaLogger
All Implemented Interfaces:
LucidDbRuntimeContext.ErrorLogger
Enclosing class:
LucidDbRuntimeContext

private class LucidDbRuntimeContext.ErrorQuotaLogger
extends LucidDbRuntimeContext.ErrorLoggerBase

Applies a quota to an error logger


Field Summary
private  LucidDbRuntimeContext.ErrorLogger logger
           
private  LucidDbRuntimeContext.ErrorQuota quota
           
 
Fields inherited from class com.lucidera.runtime.LucidDbRuntimeContext.ErrorLoggerBase
fieldCount, names, row, values
 
Constructor Summary
LucidDbRuntimeContext.ErrorQuotaLogger(LucidDbRuntimeContext.ErrorLogger logger, LucidDbRuntimeContext.ErrorQuota quota)
           
 
Method Summary
 void completeDeferredException(RuntimeException ex)
          Completes defered exception during record logging
 String getFilename()
           
 EigenbaseException log(RuntimeException ex, int columnIndex, String tag, boolean isWarning, String errorCode, String columnName)
          Writes the current log record
 
Methods inherited from class com.lucidera.runtime.LucidDbRuntimeContext.ErrorLoggerBase
getErrorCount, getFieldName, getName, getRecordString, getValue, getWarningCount, log, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private LucidDbRuntimeContext.ErrorLogger logger

quota

private LucidDbRuntimeContext.ErrorQuota quota
Constructor Detail

LucidDbRuntimeContext.ErrorQuotaLogger

public LucidDbRuntimeContext.ErrorQuotaLogger(LucidDbRuntimeContext.ErrorLogger logger,
                                              LucidDbRuntimeContext.ErrorQuota quota)
Method Detail

log

public EigenbaseException log(RuntimeException ex,
                              int columnIndex,
                              String tag,
                              boolean isWarning,
                              String errorCode,
                              String columnName)
Description copied from class: LucidDbRuntimeContext.ErrorLoggerBase
Writes the current log record

Specified by:
log in class LucidDbRuntimeContext.ErrorLoggerBase

completeDeferredException

public void completeDeferredException(RuntimeException ex)
Description copied from interface: LucidDbRuntimeContext.ErrorLogger
Completes defered exception during record logging

Specified by:
completeDeferredException in interface LucidDbRuntimeContext.ErrorLogger
Overrides:
completeDeferredException in class LucidDbRuntimeContext.ErrorLoggerBase

getFilename

public String getFilename()