Class FoundationMessages
CoreMessages
com.northconcepts.datapipeline.foundations.i18n.FoundationMessages
- Direct Known Subclasses:
SchemaMessages
public class FoundationMessages
extends CoreMessages
Formats the error messages used across DataPipeline Foundations; each static method returns one message built from its arguments.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringcolumnCountMismatchInLocalFileDataset(int metadataColumnCount, int statsColumnCount) static Stringstatic Stringstatic StringfileIndexOutOfBound(long fileIndex, long endFileIndex) static StringfileNotFound(String file) static StringindexOutOfBound(long index, long endIndex) static StringinvalidOffsetOrCount(long offset, long count, long total) static StringnegativeValue(String fieldName, Number value) static StringnoDataMappingTargetFields(String dataMappingName) static StringnoFieldSet(String fieldName) static StringpositiveScale(Number value) static StringprecisionNotLessThanAbsScale(Integer precision, Integer scaleMagnitude) static StringschemaMismatch(String objectName, String expectedSchemaName, String actualSchemaName) static StringsizeMismatch(String fieldName1, String fieldName2, int length1, int length2) static StringunsupportedOperation(String operationName) static StringvariableNameIsReserved(String variableName)
-
Constructor Details
-
FoundationMessages
public FoundationMessages()
-
-
Method Details
-
noFieldSet
-
sizeMismatch
-
variableNameIsReserved
-
noDataMappingTargetFields
-
fieldTypeNotSupportedByRecordSerializationTool
-
schemaMismatch
-
negativeValue
-
positiveScale
-
precisionNotLessThanAbsScale
-
unsupportedOperation
-
fileNotFound
-
invalidOffsetOrCount
-
dataLoadingNotStarted
-
columnCountMismatchInLocalFileDataset
public static String columnCountMismatchInLocalFileDataset(int metadataColumnCount, int statsColumnCount) -
indexOutOfBound
-
fileIndexOutOfBound
-