org.postgresql.core
Class SqlCommand

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

public class SqlCommand
extends Object

Data Modification Language inspection support.

Author:
Jeremy Whiting [email protected], Christopher Deckers ([email protected])

Field Summary
static SqlCommand BLANK
           
 
Method Summary
static SqlCommand createStatementTypeInfo(SqlCommandType type)
           
static SqlCommand createStatementTypeInfo(SqlCommandType type, boolean isRETURNINGkeywordPresent)
           
static SqlCommand createStatementTypeInfo(SqlCommandType type, boolean isBatchedReWritePropertyConfigured, int valuesBraceOpenPosition, int valuesBraceClosePosition, boolean isRETURNINGkeywordPresent, int priorQueryCount)
           
 int getBatchRewriteValuesBraceClosePosition()
           
 int getBatchRewriteValuesBraceOpenPosition()
           
 SqlCommandType getType()
           
 boolean isBatchedReWriteCompatible()
           
 boolean isReturningKeywordPresent()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BLANK

public static final SqlCommand BLANK
Method Detail

isBatchedReWriteCompatible

public boolean isBatchedReWriteCompatible()

getBatchRewriteValuesBraceOpenPosition

public int getBatchRewriteValuesBraceOpenPosition()

getBatchRewriteValuesBraceClosePosition

public int getBatchRewriteValuesBraceClosePosition()

getType

public SqlCommandType getType()

isReturningKeywordPresent

public boolean isReturningKeywordPresent()

createStatementTypeInfo

public static SqlCommand createStatementTypeInfo(SqlCommandType type,
                                                 boolean isBatchedReWritePropertyConfigured,
                                                 int valuesBraceOpenPosition,
                                                 int valuesBraceClosePosition,
                                                 boolean isRETURNINGkeywordPresent,
                                                 int priorQueryCount)

createStatementTypeInfo

public static SqlCommand createStatementTypeInfo(SqlCommandType type)

createStatementTypeInfo

public static SqlCommand createStatementTypeInfo(SqlCommandType type,
                                                 boolean isRETURNINGkeywordPresent)


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