Skip to content

Commit

Permalink
Make method abstract
Browse files Browse the repository at this point in the history
The `analyze()` method of a `ConnectorTableFunction` must be implemented
by every subclass. It is now marked as abstract.
  • Loading branch information
kasiafi committed May 16, 2022
1 parent 1e97381 commit 8e9eef5
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,7 @@ public ReturnTypeSpecification getReturnTypeSpecification()
*
* @param arguments actual invocation arguments, mapped by argument names
*/
public TableFunctionAnalysis analyze(ConnectorSession session, ConnectorTransactionHandle transaction, Map<String, Argument> arguments)
{
throw new UnsupportedOperationException("analyze method not implemented for Table Function " + name);
}
public abstract TableFunctionAnalysis analyze(ConnectorSession session, ConnectorTransactionHandle transaction, Map<String, Argument> arguments);

static String checkNotNullOrEmpty(String value, String name)
{
Expand Down

0 comments on commit 8e9eef5

Please sign in to comment.