Package org.apache.calcite.util
Class BarfingInvocationHandler
java.lang.Object
org.apache.calcite.util.BarfingInvocationHandler
- All Implemented Interfaces:
InvocationHandler
- Direct Known Subclasses:
SqlUtil.DatabaseMetaDataInvocationHandler
A class derived from
BarfingInvocationHandler
handles a method
call by looking for a method in itself with identical parameters. If no such
method is found, it throws UnsupportedOperationException
.
It is useful when you are prototyping code. You can rapidly create a prototype class which implements the important methods in an interface, then implement other methods as they are called.
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
BarfingInvocationHandler
protected BarfingInvocationHandler()
-
-
Method Details