本文整理汇总了Java中org.postgresql.pljava.ResultSetHandle类的典型用法代码示例。如果您正苦于以下问题:Java ResultSetHandle类的具体用法?Java ResultSetHandle怎么用?Java ResultSetHandle使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ResultSetHandle类属于org.postgresql.pljava包,在下文中一共展示了ResultSetHandle类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: executeSelect
import org.postgresql.pljava.ResultSetHandle; //导入依赖的package包/类
public static ResultSetHandle executeSelect(String selectSQL)
throws SQLException {
return new SetOfRecordTest(selectSQL);
}
示例2: listNonSupers
import org.postgresql.pljava.ResultSetHandle; //导入依赖的package包/类
public static ResultSetHandle listNonSupers() {
return new Users("usesuper = false");
}
示例3: listSupers
import org.postgresql.pljava.ResultSetHandle; //导入依赖的package包/类
public static ResultSetHandle listSupers() {
return new Users("usesuper = true");
}
示例4: getProperties
import org.postgresql.pljava.ResultSetHandle; //导入依赖的package包/类
public static ResultSetHandle getProperties() throws SQLException {
return new UsingPropertiesAsResultSet();
}
示例5: DDRProcessorImpl
import org.postgresql.pljava.ResultSetHandle; //导入依赖的package包/类
DDRProcessorImpl( ProcessingEnvironment processingEnv)
{
elmu = processingEnv.getElementUtils();
filr = processingEnv.getFiler();
loca = processingEnv.getLocale();
msgr = processingEnv.getMessager();
opts = processingEnv.getOptions();
srcv = processingEnv.getSourceVersion();
typu = processingEnv.getTypeUtils();
tmpr = new TypeMapper();
String optv;
optv = opts.get( "ddr.name.trusted");
if ( null != optv )
nameTrusted = optv;
else
nameTrusted = "java";
optv = opts.get( "ddr.name.untrusted");
if ( null != optv )
nameUntrusted = optv;
else
nameUntrusted = "javaU";
optv = opts.get( "ddr.implementor");
if ( null != optv )
defaultImplementor = "-".equals( optv) ? null : optv;
else
defaultImplementor = "PostgreSQL";
optv = opts.get( "ddr.output");
if ( null != optv )
output = optv;
else
output = "pljava.ddr";
TY_ITERATOR = typu.getDeclaredType(
elmu.getTypeElement( java.util.Iterator.class.getName()));
TY_OBJECT = typu.getDeclaredType(
elmu.getTypeElement( Object.class.getName()));
TY_RESULTSET = typu.getDeclaredType(
elmu.getTypeElement( java.sql.ResultSet.class.getName()));
TY_RESULTSETPROVIDER = typu.getDeclaredType(
elmu.getTypeElement( ResultSetProvider.class.getName()));
TY_RESULTSETHANDLE = typu.getDeclaredType(
elmu.getTypeElement( ResultSetHandle.class.getName()));
TY_SQLDATA = typu.getDeclaredType(
elmu.getTypeElement( SQLData.class.getName()));
TY_SQLINPUT = typu.getDeclaredType(
elmu.getTypeElement( SQLInput.class.getName()));
TY_SQLOUTPUT = typu.getDeclaredType(
elmu.getTypeElement( SQLOutput.class.getName()));
TY_STRING = typu.getDeclaredType(
elmu.getTypeElement( String.class.getName()));
TY_TRIGGERDATA = typu.getDeclaredType(
elmu.getTypeElement( TriggerData.class.getName()));
TY_VOID = typu.getNoType( TypeKind.VOID);
AN_FUNCTION = elmu.getTypeElement( Function.class.getName());
AN_SQLACTION = elmu.getTypeElement( SQLAction.class.getName());
AN_SQLACTIONS = elmu.getTypeElement( SQLActions.class.getName());
AN_SQLTYPE = elmu.getTypeElement( SQLType.class.getName());
AN_TRIGGER = elmu.getTypeElement( Trigger.class.getName());
AN_BASEUDT = elmu.getTypeElement( BaseUDT.class.getName());
AN_MAPPEDUDT = elmu.getTypeElement( MappedUDT.class.getName());
}
示例6: ResultSetPicker
import org.postgresql.pljava.ResultSetHandle; //导入依赖的package包/类
public ResultSetPicker(ResultSetHandle resultSetHandle)
throws SQLException
{
m_resultSetHandle = resultSetHandle;
m_resultSet = resultSetHandle.getResultSet();
}
示例7: getVMeasurementResultSet
import org.postgresql.pljava.ResultSetHandle; //导入依赖的package包/类
public static ResultSetHandle getVMeasurementResultSet(String VMeasurementID) {
System.out.println("getVMeasurementResultSet called with vmid string : "+VMeasurementID);
System.out.println("java.class.path now = " + System.getProperties().getProperty("java.class.path", null));
return new VMeasurementResultSet(VMeasurementID);
}