Package net.starype.quiz.api.parser
Class DBTable.Builder
- java.lang.Object
-
- net.starype.quiz.api.parser.DBTable.Builder
-
- Enclosing class:
- DBTable
public static class DBTable.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
DefaultDBTable.Builder
constructor
-
Method Summary
Modifier and Type Method Description DBTable
create()
Create a new instance ofDBTable
DBTable.Builder
registerArgument(java.lang.String argument)
Register a new argument to the constructed tableDBTable.Builder
registerIndexedArguments(java.lang.String argument)
Register a new indexed argument to the constructed table
-
-
-
Constructor Detail
-
Builder
public Builder()
DefaultDBTable.Builder
constructor
-
-
Method Detail
-
registerArgument
public DBTable.Builder registerArgument(java.lang.String argument)
Register a new argument to the constructed table- Parameters:
argument
- the new argument- Returns:
- itself for chaining purposes
-
registerIndexedArguments
public DBTable.Builder registerIndexedArguments(java.lang.String argument)
Register a new indexed argument to the constructed table- Parameters:
argument
- the new indexed arguments- Returns:
- itself for chaining purposes
-
-