java.lang.Object
org.litebridge.orm.persistence.NoOpStatementBuilder
- All Implemented Interfaces:
StatementBuilder
A no-operation implementation of the
StatementBuilder interface.
This marker class indicates that no statement-building operations will be performed.
Invoking the methods in this implementation will result in throwing an UnsupportedOperationException.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSetNode(Column column, @Nullable Object value, boolean bindValue) Invoking this method will throw anUnsupportedOperationException.build()Invoking this method will throw anUnsupportedOperationException.Invoking this method will throw anUnsupportedOperationException.node()Invoking this method will throw anUnsupportedOperationException.Invoking this method will throw anUnsupportedOperationException.
-
Constructor Details
-
NoOpStatementBuilder
public NoOpStatementBuilder()
-
-
Method Details
-
node
Invoking this method will throw anUnsupportedOperationException.- Specified by:
nodein interfaceStatementBuilder- Returns:
- Not supported
- Throws:
UnsupportedOperationException- Always thrown as this operation is not supported in theNoOpStatementBuilderimplementation.
-
addSetNode
Invoking this method will throw anUnsupportedOperationException.- Specified by:
addSetNodein interfaceStatementBuilder- Parameters:
column- Not supportedvalue- Not supportedbindValue- Not supported- Throws:
UnsupportedOperationException- Always thrown as this operation is not supported in theNoOpStatementBuilderimplementation.
-
statementChain
Invoking this method will throw anUnsupportedOperationException.- Specified by:
statementChainin interfaceStatementBuilder- Returns:
- Not supported
- Throws:
UnsupportedOperationException- Always thrown as this operation is not supported in theNoOpStatementBuilderimplementation.
-
createUpdateMetaData
Invoking this method will throw anUnsupportedOperationException.- Specified by:
createUpdateMetaDatain interfaceStatementBuilder- Returns:
- Not supported
- Throws:
UnsupportedOperationException- Always thrown as this operation is not supported in theNoOpStatementBuilderimplementation.
-
build
Invoking this method will throw anUnsupportedOperationException.- Specified by:
buildin interfaceStatementBuilder- Returns:
- Not supported
- Throws:
UnsupportedOperationException- Always thrown as this operation is not supported in theNoOpStatementBuilderimplementation.
-