public class CSVMatcherBuilder
extends java.lang.Object
Constructor and Description |
---|
CSVMatcherBuilder(com.streambase.sb.Schema s,
java.lang.String... fieldNames) |
Modifier and Type | Method and Description |
---|---|
FieldBasedTupleMatcher |
makeMatcher(java.lang.String... columns)
Build a matcher from string values that matches only the fields given to the constructor.
|
FieldBasedTupleMatcher |
makeMatcher(java.lang.String csvText)
Build a matcher from this CSV text that matches only the fields given to the constructor.
|
public CSVMatcherBuilder(com.streambase.sb.Schema s, java.lang.String... fieldNames)
public FieldBasedTupleMatcher makeMatcher(java.lang.String csvText) throws com.streambase.sb.StreamBaseException
com.streambase.sb.StreamBaseException
public FieldBasedTupleMatcher makeMatcher(java.lang.String... columns) throws com.streambase.sb.StreamBaseException
columns
- String value for each column matching the field names in the constructorcom.streambase.sb.StreamBaseException