[Home] DMelt member access. Java source code: org.apache.derby.iapi.sql.execute.ExecPreparedStatement
/*
Derby - Class org.apache.derby.iapi.sql.execute.ExecPreparedStatement
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to you under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package org.apache.derby.iapi.sql.execute;
import org.apache.derby.iapi.services.loader.GeneratedClass;
import org.apache.derby.iapi.error.StandardException;
import org.apache.derby.iapi.sql.conn.LanguageConnectionContext;
import org.apache.derby.iapi.sql.PreparedStatement;
import java.util.List;
import org.apache.derby.iapi.sql.dictionary.StatementPermission;
/**
* Execution extends prepared statement to add methods it needs
* for execution purposes (that should not be on the Database API).
*
*/
public interface ExecPreparedStatement
extends PreparedStatement {
/**
* set the statement text
*
* @param txt the source text
*/
void setSource(String txt);
/**
* Get the Execution constants. This routine is called at Execution time.
*
* @return ConstantAction The big structure enclosing the Execution constants.
*/
ConstantAction getConstantAction( );
/**
* Get a saved object by number. This is called during execution to
* access objects created at compile time. These are meant to be
* read-only at run time.
*
* @return Object A saved object. The caller has to know what
* it is requesting and cast it back to the expected type.
*/
Object getSavedObject(int objectNum);
/**
* Get all the saved objects. Used for stored prepared
* statements.
*
* @return a list with all the saved objects
*/
List