Class CustomPatternCsvOld
java.lang.Object
net.sansa_stack.hadoop.core.pattern.CustomPatternCsvOld
- All Implemented Interfaces:
CustomPattern
Deprecated.
Matcher that searches for record starts (the first character following a newline) that are NOT within a
multiline field.
FIXME: Should this pattern match "end of file"? A problem arises if no newline exists: does that mean that there too much data without newline or did we hit the end of file?
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated.classDeprecated. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intDeprecated.protected CustomPatternDeprecated.protected CustomPatternDeprecated.protected CustomPatternDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionCustomPatternCsvOld(int columnMaxLength, CustomPattern firstCharAfterNewlinePattern, CustomPattern endOfQuotedFieldFwdPattern, CustomPattern startOfQuotedFieldBwdPattern) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic CustomPatternCsvOldcreate(CustomPatternCsvOld.Config dialect) Deprecated.static CustomPatternDeprecated.static CustomPatternDeprecated.static CustomPatternDeprecated.Pattern for matching an effective quote in forward direction.static CustomPatternDeprecated.static CustomPatternDeprecated.matcher(CharSequence charSequence) Deprecated.static Stringsubstitute(String patternStr, CustomPatternCsvOld.Config dialect) Deprecated.
-
Field Details
-
columnMaxLength
protected int columnMaxLengthDeprecated. -
firstCharOnNewLinePattern
Deprecated. -
endOfQuotedFieldFwdPattern
Deprecated. -
startOfQuotedFieldBwdPattern
Deprecated.
-
-
Constructor Details
-
CustomPatternCsvOld
public CustomPatternCsvOld(int columnMaxLength, CustomPattern firstCharAfterNewlinePattern, CustomPattern endOfQuotedFieldFwdPattern, CustomPattern startOfQuotedFieldBwdPattern) Deprecated.
-
-
Method Details
-
createFwdQuotePattern
Deprecated.Pattern for matching an effective quote in forward direction. An effective quote is a quote that is not escaped. -
createBwdPatternClosingQuote
Deprecated. -
createBwdPatternClosingQuote2
Deprecated. -
createIsEscapedBwdPattern
Deprecated. -
substitute
Deprecated. -
createFwdQuotePatternOld
Deprecated. -
create
Deprecated. -
matcher
Deprecated.- Specified by:
matcherin interfaceCustomPattern
-