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 TypeMethodDescriptionbuild()Invoking this method will throw anUnsupportedOperationException.createUpdateMetaData(PreparedOperation preparedOperation) Invoking this method will throw anUnsupportedOperationException.dto()Invoking this method will throw anUnsupportedOperationException.node()Invoking this method will throw anUnsupportedOperationException.intnodeHash()Invoking this method will throw anUnsupportedOperationException.voidInvoking this method will throw anUnsupportedOperationException.Invoking this method will throw anUnsupportedOperationException.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.litebridge.orm.persistence.StatementBuilder
combinable, combineWith, resultType
-
Constructor Details
-
NoOpStatementBuilder
public NoOpStatementBuilder()
-
-
Method Details
-
dto
Invoking this method will throw anUnsupportedOperationException.- Specified by:
dtoin interfaceStatementBuilder- Returns:
- Not supported
- Throws:
UnsupportedOperationException- Always thrown as this operation is not supported in theNoOpStatementBuilderimplementation.
-
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.
-
nodeHash
public int nodeHash()Invoking this method will throw anUnsupportedOperationException.- Specified by:
nodeHashin interfaceStatementBuilder- Returns:
- 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- Parameters:
preparedOperation- the prepared database operation- Returns:
- Not supported
- Throws:
UnsupportedOperationException- Always thrown as this operation is not supported in theNoOpStatementBuilderimplementation.
-
setField
Invoking this method will throw anUnsupportedOperationException.- Specified by:
setFieldin interfaceStatementBuilder- Parameters:
fieldName- Not supportedvalue- 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.
-