public static class TokenSchema.Builder extends Object
TokenSchema
that gets initialized with default values.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TokenSchema |
build()
Builds a new
TokenSchema from builder values. |
TokenSchema.Builder |
setOwnerColum(String columnName)
Sets the name of the owner column.
|
TokenSchema.Builder |
setProcessorNameColumn(String columnName)
Sets the name of the processor name column.
|
TokenSchema.Builder |
setSegmentColumn(String columnName)
Sets the name of the processor segment column.
|
TokenSchema.Builder |
setTimestampColumn(String columnName)
Sets the name of the timestamp column.
|
TokenSchema.Builder |
setTokenColumn(String columnName)
Sets the name of the serialized token column.
|
TokenSchema.Builder |
setTokenTable(String tokenTable)
Sets the name of the token entry table.
|
TokenSchema.Builder |
setTokenTypeColumn(String columnName)
Sets the name of the token type column.
|
public TokenSchema.Builder setTokenTable(String tokenTable)
tokenTable
- the token table namepublic TokenSchema.Builder setProcessorNameColumn(String columnName)
columnName
- the name of the columnpublic TokenSchema.Builder setSegmentColumn(String columnName)
columnName
- the name of the columnpublic TokenSchema.Builder setTokenColumn(String columnName)
columnName
- the name of the columnpublic TokenSchema.Builder setTokenTypeColumn(String columnName)
columnName
- the name of the columnpublic TokenSchema.Builder setTimestampColumn(String columnName)
columnName
- the name of the columnpublic TokenSchema.Builder setOwnerColum(String columnName)
columnName
- the name of the columnpublic TokenSchema build()
TokenSchema
from builder values.Copyright © 2010–2017. All rights reserved.