com.ibm.db.base
Class DatabaseQuerySpec

java.lang.Object
  |
  +--com.ibm.db.base.DatabaseQuerySpec

public class DatabaseQuerySpec
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
private static java.lang.String copyright
           
private  DatabaseCompoundType hostVarShape
           
private  java.lang.String name
           
private  DatabaseCompoundType outputShape
           
(package private) static long serialVersionUID
           
private  java.lang.String statement
           
 
Constructor Summary
DatabaseQuerySpec()
          This method was created by a SmartGuide.
DatabaseQuerySpec(DatabaseQuerySpec aQuerySpec)
          This method was created by a SmartGuide.
DatabaseQuerySpec(java.lang.String aStatement)
          This constructor sets the sql statement, but with no name
DatabaseQuerySpec(java.lang.String aName, java.lang.String aStatement)
          This constructor sets the sql statement with a name
 
Method Summary
 DatabaseRow getEmptyInputRow()
          This method returns an empty row with the same type as the host var shape
 DatabaseCompoundType getHostVarShape()
          This method returns the host var shape
 java.lang.String getName()
          This method returns the name of the query spec
 DatabaseCompoundType getOutputShape()
          This method returns the output shape(if select)
 java.lang.String getStatement()
          This method returns the sql statement
protected  boolean isInputDescribed()
          This method checks to see if the host var shape has been defined
protected  boolean isOutputDescribed()
          This method checks to see if the output shape(if select) has been defined
 void setHostVarShape(DatabaseCompoundType aType)
          This method sets the host var shape
 void setName(java.lang.String aName)
          This method sets the name
 void setOutputShape(DatabaseCompoundType aType)
          This method was sets the output shape(if select)
 void setStatement(java.lang.String aStatement)
          This method sets the sql statement
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

name

private java.lang.String name

statement

private java.lang.String statement

outputShape

private DatabaseCompoundType outputShape

hostVarShape

private DatabaseCompoundType hostVarShape

serialVersionUID

static final long serialVersionUID

copyright

private static final java.lang.String copyright
Constructor Detail

DatabaseQuerySpec

public DatabaseQuerySpec()
This method was created by a SmartGuide.

DatabaseQuerySpec

public DatabaseQuerySpec(DatabaseQuerySpec aQuerySpec)
                  throws java.lang.CloneNotSupportedException
This method was created by a SmartGuide.
Parameters:
aQuerySpec - com.ibm.db.base.DatabaseQuerySpec
Throws:
java.lang.CloneNotSupportedException - The exception description.

DatabaseQuerySpec

public DatabaseQuerySpec(java.lang.String aStatement)
This constructor sets the sql statement, but with no name

DatabaseQuerySpec

public DatabaseQuerySpec(java.lang.String aName,
                         java.lang.String aStatement)
This constructor sets the sql statement with a name
Method Detail

getEmptyInputRow

public DatabaseRow getEmptyInputRow()
This method returns an empty row with the same type as the host var shape

getHostVarShape

public DatabaseCompoundType getHostVarShape()
This method returns the host var shape

getName

public java.lang.String getName()
This method returns the name of the query spec

getOutputShape

public DatabaseCompoundType getOutputShape()
This method returns the output shape(if select)

getStatement

public java.lang.String getStatement()
This method returns the sql statement

isInputDescribed

protected boolean isInputDescribed()
This method checks to see if the host var shape has been defined

isOutputDescribed

protected boolean isOutputDescribed()
This method checks to see if the output shape(if select) has been defined

setHostVarShape

public void setHostVarShape(DatabaseCompoundType aType)
This method sets the host var shape

setName

public void setName(java.lang.String aName)
This method sets the name

setOutputShape

public void setOutputShape(DatabaseCompoundType aType)
This method was sets the output shape(if select)

setStatement

public void setStatement(java.lang.String aStatement)
This method sets the sql statement