All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.main.java.com.aceql.client.metadata.ResultSetMetaDataPolicy Maven / Gradle / Ivy

Go to download

The AceQL Java Client SDK allows to wrap the AceQL HTTP APIs and eliminate the tedious works of handling communications errors and parsing JSON results. Android and Java Desktop application developers can access remote SQL databases and/or SQL databases in the cloud by simply including standard JDBC calls in their code, just like they would for a local database.

There is a newer version: 5.1
Show newest version
/**
 *
 */
package com.aceql.client.metadata;

import com.aceql.client.jdbc.AceQLConnection;

/**
 * Defines the policy for {@code ResultSetMetaData} access:
 * 
    *
  • on: ResulSetMetaData will be always accessible, because downloaded along * with ResultSet for each SELECT.
  • *
  • off: {@code ResulSetMetaData} will not be accessible because not * downloaded along with {@code ResultSet} for each {@code SELECT} call. This * may be changed with a * {@link AceQLConnection#setResultSetMetaDataPolicy(ResultSetMetaDataPolicy)} * call.
  • *
*

* Default value for a new AceQLConnection is off. If the AceQL Driver is used, the default value * {@code ResultSetMetaDataPolicy.on}. * * @since 5.0 * @author Nicolas de Pomereu * */ public enum ResultSetMetaDataPolicy { /** * {@code ResulSetMetaData} will be always accessible, because downloaded along * with {@code ResultSet}. */ on, /** * {@code ResulSetMetaData} will not be accessible because not downloaded along * with {@code ResultSet}. This may be changed with a * {@link AceQLConnection#setResultSetMetaDataPolicy(ResultSetMetaDataPolicy)} * call. */ off }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy