Package | Description |
---|---|
org.apache.crunch.contrib.text |
Modifier and Type | Method and Description |
---|---|
static TokenizerFactory.Builder |
TokenizerFactory.builder()
Factory method for creating a
TokenizerFactory.Builder instance. |
TokenizerFactory.Builder |
TokenizerFactory.Builder.delimiter(String delim)
Sets the delimiter used by the
TokenizerFactory instances constructed by
this instance. |
TokenizerFactory.Builder |
TokenizerFactory.Builder.drop(Integer... indices)
Drop the specified fields found by the input scanner, counting from zero.
|
TokenizerFactory.Builder |
TokenizerFactory.Builder.keep(Integer... indices)
Keep only the specified fields found by the input scanner, counting from
zero.
|
TokenizerFactory.Builder |
TokenizerFactory.Builder.locale(Locale locale)
Sets the
Locale to use with the TokenizerFactory returned by
this Builder instance. |
TokenizerFactory.Builder |
TokenizerFactory.Builder.skip(String skip)
Sets the regular expression that determines which input characters should be
ignored by the
Scanner that is returned by the constructed
TokenizerFactory . |
Copyright © 2016 The Apache Software Foundation. All rights reserved.