Package com.ocient.util
Class NullRowTransformerFactory
java.lang.Object
com.ocient.util.NullRowTransformerFactory
- All Implemented Interfaces:
RowTransformerFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacquire()Acquires and returns aRowTransformerinstance.voidrelease(RowTransformer transformer) Releases aRowTransformerinstance back to the factory.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
NullRowTransformerFactory
public NullRowTransformerFactory()
-
-
Method Details
-
acquire
Description copied from interface:RowTransformerFactoryAcquires and returns aRowTransformerinstance.- Specified by:
acquirein interfaceRowTransformerFactory
-
release
Description copied from interface:RowTransformerFactoryReleases aRowTransformerinstance back to the factory. This method should be called when the transformer is no longer needed.- Specified by:
releasein interfaceRowTransformerFactory- Parameters:
transformer- The non-nullRowTransformerinstance, previously obtained from this factory.
-