org.deegree.metadata.persistence.iso
Class ExecuteStatements

java.lang.Object
  extended by org.deegree.metadata.persistence.iso.ExecuteStatements
All Implemented Interfaces:
GenericDatabaseExecution

public class ExecuteStatements
extends java.lang.Object
implements GenericDatabaseExecution

Executes statements that does the interaction with the underlying database. This is a PostGRES implementation.

Version:
$Revision: 27881 $, $Date: 2010-11-09 15:41:11 +0100 (Di, 09. Nov 2010) $
Author:
Steffen Thomas, last edited by: $Author: sthomas $

Constructor Summary
ExecuteStatements()
           
 
Method Summary
 int executeDeleteStatement(java.sql.Connection connection, PostGISWhereBuilder builder)
           
 java.sql.PreparedStatement executeGetRecords(MetadataQuery query, boolean setCount, PostGISWhereBuilder builder, java.sql.Connection conn)
           
 java.lang.String getEncoding()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecuteStatements

public ExecuteStatements()
Method Detail

executeDeleteStatement

public int executeDeleteStatement(java.sql.Connection connection,
                                  PostGISWhereBuilder builder)
                           throws MetadataStoreException
Specified by:
executeDeleteStatement in interface GenericDatabaseExecution
Throws:
MetadataStoreException

executeGetRecords

public java.sql.PreparedStatement executeGetRecords(MetadataQuery query,
                                                    boolean setCount,
                                                    PostGISWhereBuilder builder,
                                                    java.sql.Connection conn)
                                             throws MetadataStoreException
Specified by:
executeGetRecords in interface GenericDatabaseExecution
Throws:
MetadataStoreException

getEncoding

public java.lang.String getEncoding()
Specified by:
getEncoding in interface GenericDatabaseExecution


Copyright © 2011. All Rights Reserved.