DBSelectStage

From CCIL
Jump to: navigation, search

Performs a query over the database.

Overview

jar ccil-common-sql
recommended name db-select
class net.ccil.stages.sql.DBSelectStage
location /common/sql/src/main/java/net/ccil/sql/stages/DBGetDateStage.java
svn svn://svn.code.sf.net/p/ccil/code/trunk/src/common/sql/src/main/java/net/ccil/sql/stages/DBSelectStage.java

Parameters

Name Type Description Comment
table java.lang.String The name of the table to select from.
cols java.lang.String A comma-separated list with the names of the columns to read.
where java.lang.String The value from the java.sql.ResultSet.
order java.lang.String The ORDER clause if any.
limit java.lang.String The LIMIT clause if any.

Registration

service:db-select	rdf:type	entity:service ;				
			entity:implementation	"net.ccil.stages.sql.DBSelectStage" ;
			entity:classpath	"" ;
			entity:arguments	"" .

Context

TBA

Example

TBA

See Also