org.postgresql.core
Class JdbcCallParseInfo

java.lang.Object
  extended by org.postgresql.core.JdbcCallParseInfo

public class JdbcCallParseInfo
extends Object

Contains parse flags from Parser.modifyJdbcCall(String, boolean, int, int).


Constructor Summary
JdbcCallParseInfo(String sql, boolean isFunction, boolean outParmBeforeFunc)
           
 
Method Summary
 String getSql()
          SQL in a native for certain backend version
 boolean isFunction()
          Returns if given SQL is a function
 boolean isOutParmBeforeFunc()
          Returns if given SQL is a function with one out parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcCallParseInfo

public JdbcCallParseInfo(String sql,
                         boolean isFunction,
                         boolean outParmBeforeFunc)
Method Detail

getSql

public String getSql()
SQL in a native for certain backend version

Returns:
SQL in a native for certain backend version

isFunction

public boolean isFunction()
Returns if given SQL is a function

Returns:
true if given SQL is a function

isOutParmBeforeFunc

public boolean isOutParmBeforeFunc()
Returns if given SQL is a function with one out parameter

Returns:
true if given SQL is a function with one out parameter


Copyright © 2017 PostgreSQL Global Development Group. All rights reserved.