InputStream x)
Sets the designated parameter to the given input stream.
|
void |
RowSet.setBinaryStream(String parameterName,
InputStream x,
int length)
Sets the designated parameter to the given input stream, which will have
the specified number of bytes.
|
void |
RowSet.setBlob(int i,
Blob x)
Sets the designated parameter in this
RowSet object's command
with the given Blob value. |
void |
RowSet.setBlob(int parameterIndex,
InputStream inputStream)
Sets the designated parameter to a
InputStream object. |
void |
RowSet.setBlob(int parameterIndex,
InputStream inputStream,
long length)
Sets the designated parameter to a
InputStream object. |
void |
RowSet.setBlob(String parameterName,
Blob x)
Sets the designated parameter to the given
java.sql.Blob object. |
void |
RowSet.setBlob(String parameterName,
InputStream inputStream)
Sets the designated parameter to a
InputStream object. |
void |
RowSet.setBlob(String parameterName,
InputStream inputStream,
long length)
Sets the designated parameter to a
InputStream object. |
void |
RowSet.setBoolean(int parameterIndex,
boolean x)
Sets the designated parameter in this
RowSet object's command
to the given Java boolean value. |
void |
RowSet.setBoolean(String parameterName,
boolean x)
Sets the designated parameter to the given Java
boolean value. |
void |
RowSet.setByte(int parameterIndex,
byte x)
Sets the designated parameter in this
RowSet object's command
to the given Java byte value. |
void |
RowSet.setByte(String parameterName,
byte x)
Sets the designated parameter to the given Java
byte value. |
void |
RowSet.setBytes(int parameterIndex,
byte[] x)
Sets the designated parameter in this
RowSet object's command
to the given Java array of byte values. |
void |
RowSet.setBytes(String parameterName,
byte[] x)
Sets the designated parameter to the given Java array of bytes.
|
void |
RowSetMetaData.setCaseSensitive(int columnIndex,
boolean property)
Sets whether the designated column is case sensitive.
|
void |
RowSetMetaData.setCatalogName(int columnIndex,
String catalogName)
Sets the designated column's table's catalog name, if any, to the given
String . |
void |
RowSet.setCharacterStream(int parameterIndex,
Reader reader)
Sets the designated parameter in this
RowSet object's command
to the given Reader
object. |
void |
RowSet.setCharacterStream(int parameterIndex,
Reader reader,
int length)
Sets the designated parameter in this
RowSet object's command
to the given java.io.Reader value. |
void |
RowSet.setCharacterStream(String parameterName,
Reader reader)
Sets the designated parameter to the given
Reader
object. |
void |
RowSet.setCharacterStream(String parameterName,
Reader reader,
int length)
Sets the designated parameter to the given
Reader
object, which is the given number of characters long. |
void |
RowSet.setClob(int i,
Clob x)
Sets the designated parameter in this
RowSet object's command
with the given Clob value. |
void |
RowSet.setClob(int parameterIndex,
Reader reader)
Sets the designated parameter to a
Reader object. |
void |
RowSet.setClob(int parameterIndex,
Reader reader,
long length)
Sets the designated parameter to a
Reader object. |
void |
RowSet.setClob(String parameterName,
Clob x)
Sets the designated parameter to the given
java.sql.Clob object. |
void |
RowSet.setClob(String parameterName,
Reader reader)
Sets the designated parameter to a
Reader object. |
void |
RowSet.setClob(String parameterName,
Reader reader,
long length)
Sets the designated parameter to a
Reader object. |
void |
RowSetMetaData.setColumnCount(int columnCount)
Sets the number of columns in the
RowSet object to
the given number. |
void |
RowSetMetaData.setColumnDisplaySize(int columnIndex,
int size)
Sets the designated column's normal maximum width in chars to the
given
int . |
void |
RowSetMetaData.setColumnLabel(int columnIndex,
String label)
Sets the suggested column title for use in printouts and
displays, if any, to the given
String . |
void |
RowSetMetaData.setColumnName(int columnIndex,
String columnName)
Sets the name of the designated column to the given
String . |
void |
RowSetMetaData.setColumnType(int columnIndex,
int SQLType)
Sets the designated column's SQL type to the one given.
|
void |
RowSetMetaData.setColumnTypeName(int columnIndex,
String typeName)
Sets the designated column's type name that is specific to the
data source, if any, to the given
String . |
void |
RowSet.setCommand(String cmd)
Sets this
RowSet object's command property to the given
SQL query. |
void |
RowSet.setConcurrency(int concurrency)
Sets the concurrency of this
RowSet object to the given
concurrency level. |
void |
RowSetMetaData.setCurrency(int columnIndex,
boolean property)
Sets whether the designated column is a cash value.
|
void |
RowSet.setDataSourceName(String name)
Sets the data source name property for this
RowSet object to the
given String . |
void |
RowSet.setDate(int parameterIndex,
Date x)
Sets the designated parameter in this
RowSet object's command
to the given java.sql.Date value. |
void |
RowSet.setDate(int parameterIndex,
Date x,
Calendar cal)
Sets the designated parameter in this
RowSet object's command
with the given java.sql.Date value. |
void |
RowSet.setDate(String parameterName,
Date x)
Sets the designated parameter to the given
java.sql.Date value
using the default time zone of the virtual machine that is running
the application. |
void |
RowSet.setDate(String parameterName,
Date x,
Calendar cal)
Sets the designated parameter to the given
java.sql.Date value,
using the given Calendar object. |
void |
RowSet.setDouble(int parameterIndex,
double x)
Sets the designated parameter in this
RowSet object's command
to the given Java double value. |
void |
RowSet.setDouble(String parameterName,
double x)
Sets the designated parameter to the given Java
double value. |
void |
RowSet.setEscapeProcessing(boolean enable)
Sets escape processing for this
RowSet object on or
off. |
void |
RowSet.setFloat(int parameterIndex,
float x)
Sets the designated parameter in this
RowSet object's command
to the given Java float value. |
void |
RowSet.setFloat(String parameterName,
float x)
Sets the designated parameter to the given Java
float value. |
void |
RowSet.setInt(int parameterIndex,
int x)
Sets the designated parameter in this
RowSet object's command
to the given Java int value. |
void |
RowSet.setInt(String parameterName,
int x)
Sets the designated parameter to the given Java
int value. |
void |
CommonDataSource.setLoginTimeout(int seconds)
Sets the maximum time in seconds that this data source will wait
while attempting to connect to a database.
|
void |
CommonDataSource.setLogWriter(PrintWriter out)
Sets the log writer for this
DataSource
object to the given java.io.PrintWriter object. |
void |
RowSet.setLong(int parameterIndex,
long x)
Sets the designated parameter in this
RowSet object's command
to the given Java long value. |
void |
RowSet.setLong(String parameterName,
long x)
Sets the designated parameter to the given Java
long value. |
void |
RowSet.setMaxFieldSize(int max)
Sets the maximum number of bytes that can be returned for a column
value to the given number of bytes.
|
void |
RowSet.setMaxRows(int max)
Sets the maximum number of rows that this
RowSet
object can contain to the specified number. |
void |
RowSetInternal.setMetaData(RowSetMetaData md)
Sets the given
RowSetMetaData object as the
RowSetMetaData object for this RowSet
object. |
void |
RowSet.setNCharacterStream(int parameterIndex,
Reader value)
Sets the designated parameter in this
RowSet object's command
to a Reader object. |
void |
RowSet.setNCharacterStream(int parameterIndex,
Reader value,
long length)
Sets the designated parameter to a
Reader object. |
void |
RowSet.setNCharacterStream(String parameterName,
Reader value)
Sets the designated parameter to a
Reader object. |
void |
RowSet.setNCharacterStream(String parameterName,
Reader value,
long length)
Sets the designated parameter to a
Reader object. |
void |
RowSet.setNClob(int parameterIndex,
NClob value)
Sets the designated parameter to a
java.sql.NClob object. |
void |
RowSet.setNClob(int parameterIndex,
Reader reader)
Sets the designated parameter to a
Reader object. |
void |
RowSet.setNClob(int parameterIndex,
Reader reader,
long length)
Sets the designated parameter to a
Reader object. |
void |
RowSet.setNClob(String parameterName,
NClob value)
Sets the designated parameter to a
java.sql.NClob object. |
void |
RowSet.setNClob(String parameterName,
Reader reader)
Sets the designated parameter to a
Reader object. |
void |
RowSet.setNClob(String parameterName,
Reader reader,
long length)
Sets the designated parameter to a
Reader object. |
void |
RowSet.setNString(int parameterIndex,
String value)
Sets the designated parameter to the given
String object. |
void |
RowSet.setNString(String parameterName,
String value)
Sets the designated parameter to the given
String object. |
void |
RowSet.setNull(int parameterIndex,
int sqlType)
Sets the designated parameter in this
RowSet object's SQL
command to SQL NULL . |
void |
RowSet.setNull(int paramIndex,
int sqlType,
String typeName)
Sets the designated parameter in this
RowSet object's SQL
command to SQL NULL . |
void |
RowSet.setNull(String parameterName,
int sqlType)
Sets the designated parameter to SQL
NULL . |
void |
RowSet.setNull(String parameterName,
int sqlType,
String typeName)
Sets the designated parameter to SQL
NULL . |
void |
RowSetMetaData.setNullable(int columnIndex,
int property)
Sets whether the designated column's value can be set to
NULL . |
void |
RowSet.setObject(int parameterIndex,
Object x)
Sets the designated parameter in this
RowSet object's command
with a Java Object . |
void |
RowSet.setObject(int parameterIndex,
Object x,
int targetSqlType)
Sets the designated parameter in this
RowSet object's command
with a Java Object . |
void |
RowSet.setObject(int parameterIndex,
Object x,
int targetSqlType,
int scaleOrLength)
Sets the designated parameter in this
RowSet object's command
with the given Java Object . |
void |
RowSet.setObject(String parameterName,
Object x)
Sets the value of the designated parameter with the given object.
|
void |
RowSet.setObject(String parameterName,
Object x,
int targetSqlType)
Sets the value of the designated parameter with the given object.
|
void |
RowSet.setObject(String parameterName,
Object x,
int targetSqlType,
int scale)
Sets the value of the designated parameter with the given object.
|
void |
RowSet.setPassword(String password)
Sets the database password for this
RowSet object to
the given String . |
void |
RowSetMetaData.setPrecision(int columnIndex,
int precision)
Sets the designated column's number of decimal digits to the
given
int . |
void |
RowSet.setQueryTimeout(int seconds)
Sets the maximum time the driver will wait for
a statement to execute to the given number of seconds.
|
void |
RowSet.setReadOnly(boolean value)
Sets whether this
RowSet object is read-only to the
given boolean . |
void |
RowSet.setRef(int i,
Ref x)
Sets the designated parameter in this
RowSet object's command
with the given Ref value. |
void |
RowSet.setRowId(int parameterIndex,
RowId x)
Sets the designated parameter to the given
java.sql.RowId object. |
void |
RowSet.setRowId(String parameterName,
RowId x)
Sets the designated parameter to the given
java.sql.RowId object. |
void |
RowSetMetaData.setScale(int columnIndex,
int scale)
Sets the designated column's number of digits to the
right of the decimal point to the given
int . |
void |
RowSetMetaData.setSchemaName(int columnIndex,
String schemaName)
Sets the name of the designated column's table's schema, if any, to
the given
String . |
void |
RowSetMetaData.setSearchable(int columnIndex,
boolean property)
Sets whether the designated column can be used in a where clause.
|
void |
RowSet.setShort(int parameterIndex,
short x)
Sets the designated parameter in this
RowSet object's command
to the given Java short value. |
void |
RowSet.setShort(String parameterName,
short x)
Sets the designated parameter to the given Java
short value. |
void |
RowSetMetaData.setSigned(int columnIndex,
boolean property)
Sets whether the designated column is a signed number.
|
void |
RowSet.setSQLXML(int parameterIndex,
SQLXML xmlObject)
Sets the designated parameter to the given
java.sql.SQLXML object. |
void |
RowSet.setSQLXML(String parameterName,
SQLXML xmlObject)
Sets the designated parameter to the given
java.sql.SQLXML object. |
void |
RowSet.setString(int parameterIndex,
String x)
Sets the designated parameter in this
RowSet object's command
to the given Java String value. |
void |
RowSet.setString(String parameterName,
String x)
Sets the designated parameter to the given Java
String value. |
void |
RowSetMetaData.setTableName(int columnIndex,
String tableName)
Sets the designated column's table name, if any, to the given
String . |
void |
RowSet.setTime(int parameterIndex,
Time x)
Sets the designated parameter in this
RowSet object's command
to the given java.sql.Time value. |
void |
RowSet.setTime(int parameterIndex,
Time x,
Calendar cal)
Sets the designated parameter in this
RowSet object's command
with the given java.sql.Time value. |
void |
RowSet.setTime(String parameterName,
Time x)
Sets the designated parameter to the given
java.sql.Time value. |
void |
RowSet.setTime(String parameterName,
Time x,
Calendar cal)
Sets the designated parameter to the given
java.sql.Time value,
using the given Calendar object. |
void |
RowSet.setTimestamp(int parameterIndex,
Timestamp x)
Sets the designated parameter in this
RowSet object's command
to the given java.sql.Timestamp value. |
void |
RowSet.setTimestamp(int parameterIndex,
Timestamp x,
Calendar cal)
Sets the designated parameter in this
RowSet object's command
with the given java.sql.Timestamp value. |
void |
RowSet.setTimestamp(String parameterName,
Timestamp x)
Sets the designated parameter to the given
java.sql.Timestamp value. |
void |
RowSet.setTimestamp(String parameterName,
Timestamp x,
Calendar cal)
Sets the designated parameter to the given
java.sql.Timestamp value,
using the given Calendar object. |
void |
RowSet.setTransactionIsolation(int level)
Sets the transaction isolation level for this
RowSet object. |
void |
RowSet.setType(int type)
Sets the type of this
RowSet object to the given type. |
void |
RowSet.setTypeMap(Map<String,Class<?>> map)
Installs the given
java.util.Map object as the default
type map for this RowSet object. |
void |
RowSet.setURL(int parameterIndex,
URL x)
Sets the designated parameter to the given
java.net.URL value. |
void |
RowSet.setUrl(String url)
Sets the URL this
RowSet object will use when it uses the
DriverManager to create a connection. |
void |
RowSet.setUsername(String name)
Sets the username property for this
RowSet object to the
given String . |
boolean |
RowSetWriter.writeData(RowSetInternal caller)
Writes the changes in this
RowSetWriter object's
rowset back to the data source from which it got its data. |
| Constructor and Description |
|---|
ConnectionEvent(PooledConnection con,
SQLException ex)
Constructs a
ConnectionEvent object initialized with
the given PooledConnection object and
SQLException object. |
StatementEvent(PooledConnection con,
PreparedStatement statement,
SQLException exception)
Constructs a
StatementEvent with the specified PooledConnection ,
PreparedStatement and SQLException |
| Modifier and Type | Class and Description |
|---|---|
class |
RowSetWarning
An extension of
SQLException that provides information
about database warnings set on RowSet objects. |
| Modifier and Type | Method and Description |
|---|---|
void |
JoinRowSet.addRowSet(Joinable rowset)
Adds the given
RowSet object to this JoinRowSet
object. |
void |
JoinRowSet.addRowSet(RowSet[] rowset,
int[] columnIdx)
Adds one or more
RowSet objects contained in the given
array of RowSet objects to this JoinRowSet
object and sets the match column for
each of the RowSet objects to the match columns
in the given array of column indexes. |
void |
JoinRowSet.addRowSet(RowSet[] rowset,
String[] columnName)
Adds one or more
RowSet objects contained in the given
array of RowSet objects to this JoinRowSet
object and sets the match column for
each of the RowSet objects to the match columns
in the given array of column names. |
void |
JoinRowSet.addRowSet(RowSet rowset,
int columnIdx)
Adds the given
RowSet object to this JoinRowSet
object and sets the designated column as the match column for
the RowSet object. |
void |
JoinRowSet.addRowSet(RowSet rowset,
String columnName)
Adds rowset to this
JoinRowSet object and
sets the designated column as the match column. |
void |
BaseRowSet.clearParameters()
Clears all of the current parameter values in this
RowSet
object's internal representation of the parameters to be set in
this RowSet object's command when it is executed. |
boolean |
CachedRowSet.columnUpdated(int idx)
Indicates whether the designated column in the current row of this
CachedRowSet object has been updated. |
boolean |
CachedRowSet.columnUpdated(String columnName)
Indicates whether the designated column in the current row of this
CachedRowSet object has been updated. |
void |
CachedRowSet.commit()
Each
CachedRowSet object's SyncProvider contains
a Connection object from the ResultSet or JDBC
properties passed to it's constructors. |
void |
JdbcRowSet.commit()
Each
JdbcRowSet contains a Connection object from
the ResultSet or JDBC properties passed to it's constructors. |
CachedRowSet |
RowSetFactory.createCachedRowSet()
Creates a new instance of a CachedRowSet.
|
CachedRowSet |
CachedRowSet.createCopy()
Creates a
RowSet object that is a deep copy of the data in
this CachedRowSet object. |
CachedRowSet |
CachedRowSet.createCopyNoConstraints()
Creates a
CachedRowSet object that is a deep copy of
this CachedRowSet object's data but is independent of it. |
CachedRowSet |
CachedRowSet.createCopySchema()
Creates a
CachedRowSet object that is an empty copy of this
CachedRowSet object. |
FilteredRowSet |
RowSetFactory.createFilteredRowSet()
Creates a new instance of a FilteredRowSet.
|
JdbcRowSet |
RowSetFactory.createJdbcRowSet()
Creates a new instance of a JdbcRowSet.
|
JoinRowSet |
RowSetFactory.createJoinRowSet()
Creates a new instance of a JoinRowSet.
|
RowSet |
CachedRowSet.createShared()
Returns a new
RowSet object backed by the same data as
that of this CachedRowSet object. |
WebRowSet |
RowSetFactory.createWebRowSet()
Creates a new instance of a WebRowSet.
|
boolean |
Predicate.evaluate(Object value,
int column)
This method is called by a
FilteredRowSet object
to check whether the value lies between the filtering criterion (or criteria
if multiple constraints exist) set using the setFilter() method. |
boolean |
Predicate.evaluate(Object value,
String columnName)
This method is called by the
FilteredRowSet object
to check whether the value lies between the filtering criteria set
using the setFilter method. |
void |
CachedRowSet.execute(Connection conn)
Populates this
CachedRowSet object with data, using the
given connection to produce the result set from which the data will be read. |
boolean |
JdbcRowSet.getAutoCommit()
Each
JdbcRowSet contains a Connection object from
the original ResultSet or JDBC properties passed to it. |
String |
RowSetMetaDataImpl.getCatalogName(int columnIndex)
Retrieves the catalog name of the table from which the value
in the designated column was derived.
|
String |
RowSetMetaDataImpl.getColumnClassName(int columnIndex)
Retrieves the fully-qualified name of the class in the Java
programming language to which a value in the designated column
will be mapped.
|
int |
RowSetMetaDataImpl.getColumnCount()
Retrieves the number of columns in the
RowSet object
for which this RowSetMetaDataImpl object was created. |
int |
RowSetMetaDataImpl.getColumnDisplaySize(int columnIndex)
Retrieves the normal maximum width in chars of the designated column.
|
String |
RowSetMetaDataImpl.getColumnLabel(int columnIndex)
Retrieves the the suggested column title for the designated
column for use in printouts and displays.
|
String |
RowSetMetaDataImpl.getColumnName(int columnIndex)
Retrieves the name of the designated column.
|
int |
RowSetMetaDataImpl.getColumnType(int columnIndex)
Retrieves the type code (one of the
java.sql.Types
constants) for the SQL type of the value stored in the
designated column. |
String |
RowSetMetaDataImpl.getColumnTypeName(int columnIndex)
Retrieves the DBMS-specific type name for values stored in the
designated column.
|
int |
BaseRowSet.getConcurrency()
Returns the concurrency for this
RowSet object. |
boolean |
BaseRowSet.getEscapeProcessing()
Ascertains whether escape processing is enabled for this
RowSet object. |
int |
BaseRowSet.getFetchDirection()
Retrieves this
RowSet object's current setting for the
fetch direction. |
int |
BaseRowSet.getFetchSize()
Returns the fetch size for this
RowSet object. |
int |
JoinRowSet.getJoinType()
Returns a
int describing the set SQL JOIN type
governing this JoinRowSet instance. |
int[] |
CachedRowSet.getKeyColumns()
Returns an array containing one or more column numbers indicating the columns
that form a key that uniquely
identifies a row in this
CachedRowSet object. |
int[] |
Joinable.getMatchColumnIndexes()
Retrieves the indexes of the match columns that were set for this
RowSet object with the method
setMatchColumn(int[] columnIdxes) . |
String[] |
Joinable.getMatchColumnNames()
Retrieves the names of the match columns that were set for this
RowSet object with the method
setMatchColumn(String [] columnNames) . |
int |
BaseRowSet.getMaxFieldSize()
Retrieves the maximum number of bytes that can be used for a column
value in this
RowSet object. |
int |
BaseRowSet.getMaxRows()
Retrieves the maximum number of rows that this
RowSet object may contain. |
ResultSet |
CachedRowSet.getOriginal()
Returns a
ResultSet object containing the original value of this
CachedRowSet object. |
ResultSet |
CachedRowSet.getOriginalRow()
Returns a
ResultSet object containing the original value for the
current row only of this CachedRowSet object. |
Object[] |
BaseRowSet.getParams()
Retrieves an array containing the parameter values (both Objects and
primitives) that have been set for this
RowSet object's command and throws an SQLException object
if all parameters have not been set. |
int |
RowSetMetaDataImpl.getPrecision(int columnIndex)
Retrieves the total number of digits for values stored in
the designated column.
|
int |
BaseRowSet.getQueryTimeout()
Retrieves the maximum number of seconds the driver will wait for a
query to execute.
|
String[] |
JoinRowSet.getRowSetNames()
Returns a
String array containing the names of the
RowSet objects added to this JoinRowSet
object. |
Collection<?> |
JoinRowSet.getRowSets()
Returns a
Collection object containing the
RowSet objects that have been added to this
JoinRowSet object. |
RowSetWarning |
CachedRowSet.getRowSetWarnings()
Retrieves the first warning reported by calls on this
RowSet object. |
RowSetWarning |
JdbcRowSet.getRowSetWarnings()
Retrieves the first warning reported by calls on this
JdbcRowSet
object. |
int |
RowSetMetaDataImpl.getScale(int columnIndex)
Retrieves the number of digits to the right of the decimal point
for values stored in the designated column.
|
String |
RowSetMetaDataImpl.getSchemaName(int columnIndex)
Retrieves the schema name of the table from which the value
in the designated column was derived.
|
boolean |
BaseRowSet.getShowDeleted()
Retrieves a
boolean indicating whether rows marked
for deletion appear in the set of current rows. |
boolean |
CachedRowSet.getShowDeleted()
Retrieves a
boolean indicating whether rows marked
for deletion appear in the set of current rows. |
boolean |
JdbcRowSet.getShowDeleted()
Retrieves a
boolean indicating whether rows marked
for deletion appear in the set of current rows. |
SyncProvider |
CachedRowSet.getSyncProvider()
Retrieves the
SyncProvider implementation for this
CachedRowSet object. |
String |
CachedRowSet.getTableName()
Returns an identifier for the object (table) that was used to
create this
CachedRowSet object. |
String |
RowSetMetaDataImpl.getTableName(int columnIndex)
Retrieves the name of the table from which the value
in the designated column was derived.
|
int |
BaseRowSet.getType()
Returns the type of this
RowSet object. |
String |
BaseRowSet.getUrl()
Retrieves the JDBC URL that this
RowSet object's
javax.sql.Reader object uses to make a connection
with a relational database using a JDBC technology-enabled driver. |
String |
JoinRowSet.getWhereClause()
Return a SQL-like description of the WHERE clause being used
in a JoinRowSet object.
|
boolean |
RowSetMetaDataImpl.isAutoIncrement(int columnIndex)
Retrieves whether a value stored in the designated column is
automatically numbered, and thus readonly.
|
boolean |
RowSetMetaDataImpl.isCaseSensitive(int columnIndex)
Indicates whether the case of the designated column's name
matters.
|
boolean |
RowSetMetaDataImpl.isCurrency(int columnIndex)
Indicates whether a value stored in the designated column
is a cash value.
|
boolean |
RowSetMetaDataImpl.isDefinitelyWritable(int columnIndex)
Indicates whether a write operation on the designated column
will definitely succeed.
|
int |
RowSetMetaDataImpl.isNullable(int columnIndex)
Retrieves a constant indicating whether it is possible
to store a
NULL value in the designated column. |
boolean |
RowSetMetaDataImpl.isReadOnly(int columnIndex)
Indicates whether the designated column is definitely
not writable, thus readonly.
|
boolean |
RowSetMetaDataImpl.isSearchable(int columnIndex)
Indicates whether a value stored in the designated column
can be used in a
WHERE clause. |
boolean |
RowSetMetaDataImpl.isSigned(int columnIndex)
Indicates whether a value stored in the designated column is
a signed number.
|
boolean |
RowSetMetaDataImpl.isWrapperFor(Class<?> interfaces)
Returns true if this either implements the interface argument or is directly or indirectly a wrapper
for an object that does.
|
boolean |
RowSetMetaDataImpl.isWritable(int columnIndex)
Indicates whether it is possible for a write operation on
the designated column to succeed.
|
static RowSetFactory |
RowSetProvider.newFactory()
Creates a new instance of a
RowSetFactory
implementation. |
static RowSetFactory |
RowSetProvider.newFactory(String factoryClassName,
ClassLoader cl)
Creates a new instance of a
RowSetFactory from the
specified factory class name. |
boolean |
CachedRowSet.nextPage()
Increments the current page of the
CachedRowSet . |
protected void |
BaseRowSet.notifyCursorMoved()
Notifies all of the listeners registered with this
RowSet object that its cursor has moved. |
protected void |
BaseRowSet.notifyRowChanged()
Notifies all of the listeners registered with this
RowSet object that
one of its rows has changed. |
protected void |
BaseRowSet.notifyRowSetChanged()
Notifies all of the listeners registered with this
RowSet
object that its entire contents have changed. |
void |
CachedRowSet.populate(ResultSet data)
Populates this
CachedRowSet object with data from
the given ResultSet object. |
void |
CachedRowSet.populate(ResultSet rs,
int startRow)
Populates this
CachedRowSet object with data from
the given ResultSet object. |
boolean |
CachedRowSet.previousPage()
Decrements the current page of the
CachedRowSet . |
void |
WebRowSet.readXml(InputStream iStream)
Reads a stream based XML input to populate this
WebRowSet
object. |
void |
WebRowSet.readXml(Reader reader)
Reads a
WebRowSet object in its XML format from the given
Reader object. |
void |
CachedRowSet.release()
Releases the current contents of this
CachedRowSet
object and sends a rowSetChanged event to all
registered listeners. |
void |
CachedRowSet.restoreOriginal()
Restores this
CachedRowSet object to its original
value, that is, its value before the last set of changes. |
void |
CachedRowSet.rollback()
Each
CachedRowSet object's SyncProvider contains
a Connection object from the original ResultSet
or JDBC properties passed to it. |
void |
JdbcRowSet.rollback()
Each
JdbcRowSet contains a Connection object from
the original ResultSet or JDBC properties passed to it. |
void |
CachedRowSet.rollback(Savepoint s)
Each
CachedRowSet object's SyncProvider contains
a Connection object from the original ResultSet
or JDBC properties passed to it. |
void |
JdbcRowSet.rollback(Savepoint s)
Each
JdbcRowSet contains a Connection object from
the original ResultSet or JDBC properties passed to it. |
void |
CachedRowSet.rowSetPopulated(RowSetEvent event,
int numRows)
Notifies registered listeners that a RowSet object in the given RowSetEvent
object has populated a number of additional rows.
|
void |
BaseRowSet.setArray(int parameterIndex,
Array array)
Sets the designated parameter to an
Array object in the
Java programming language. |
void |
BaseRowSet.setAsciiStream(int parameterIndex,
InputStream x)
Sets the designated parameter in this
RowSet object's command
to the given input stream. |
void |
BaseRowSet.setAsciiStream(int parameterIndex,
InputStream x,
int length)
Sets the designated parameter to the given
java.io.InputStream object,
which will have the specified number of bytes. |
void |
BaseRowSet.setAsciiStream(String parameterName,
InputStream x)
Sets the designated parameter to the given input stream.
|
void |
BaseRowSet.setAsciiStream(String parameterName,
InputStream x,
int length)
Sets the designated parameter to the given input stream, which will have
the specified number of bytes.
|
void |
JdbcRowSet.setAutoCommit(boolean autoCommit)
Each
JdbcRowSet contains a Connection object from
the original ResultSet or JDBC properties passed to it. |
void |
RowSetMetaDataImpl.setAutoIncrement(int columnIndex,
boolean property)
Sets whether the designated column is automatically
numbered, thus read-only, to the given
boolean
value. |
void |
BaseRowSet.setBigDecimal(int parameterIndex,
BigDecimal x)
Sets the designated parameter to the given
java.lang.BigDecimal value. |
void |
BaseRowSet.setBigDecimal(String parameterName,
BigDecimal x)
Sets the designated parameter to the given
java.math.BigDecimal value. |
void |
BaseRowSet.setBinaryStream(int parameterIndex,
InputStream x)
Sets the designated parameter in this
RowSet object's command
to the given input stream. |
void |
BaseRowSet.setBinaryStream(int parameterIndex,
InputStream x,
int length)
Sets the designated parameter to the given
java.io.InputStream
object, which will have the specified number of bytes. |
void |
BaseRowSet.setBinaryStream(String parameterName,
InputStream x)
Sets the designated parameter to the given input stream.
|
void |
BaseRowSet.setBinaryStream(String parameterName,
InputStream x,
int length)
Sets the designated parameter to the given input stream, which will have
the specified number of bytes.
|
void |
BaseRowSet.setBlob(int parameterIndex,
Blob x)
Sets the designated parameter to the given
Blob object in
the Java programming language. |
void |
BaseRowSet.setBlob(int parameterIndex,
InputStream inputStream)
Sets the designated parameter to a
InputStream object. |
void |
BaseRowSet.setBlob(int parameterIndex,
InputStream inputStream,
long length)
Sets the designated parameter to a
InputStream object. |
void |
BaseRowSet.setBlob(String parameterName,
Blob x)
Sets the designated parameter to the given
java.sql.Blob object. |
void |
BaseRowSet.setBlob(String parameterName,
InputStream inputStream)
Sets the designated parameter to a
InputStream object. |
void |
BaseRowSet.setBlob(String parameterName,
InputStream inputStream,
long length)
Sets the designated parameter to a
InputStream object. |
void |
BaseRowSet.setBoolean(int parameterIndex,
boolean x)
Sets the designated parameter to the given
boolean in the
Java programming language. |
void |
BaseRowSet.setBoolean(String parameterName,
boolean x)
Sets the designated parameter to the given Java
boolean value. |
void |
BaseRowSet.setByte(int parameterIndex,
byte x)
Sets the designated parameter to the given
byte in the Java
programming language. |
void |
BaseRowSet.setByte(String parameterName,
byte x)
Sets the designated parameter to the given Java
byte value. |
void |
BaseRowSet.setBytes(int parameterIndex,
byte[] x)
Sets the designated parameter to the given array of bytes.
|
void |
BaseRowSet.setBytes(String parameterName,
byte[] x)
Sets the designated parameter to the given Java array of bytes.
|
void |
RowSetMetaDataImpl.setCaseSensitive(int columnIndex,
boolean property)
Sets whether the name of the designated column is case sensitive to
the given
boolean . |
void |
RowSetMetaDataImpl.setCatalogName(int columnIndex,
String catalogName)
Sets the catalog name of the table from which the designated
column was derived to catalogName.
|
void |
BaseRowSet.setCharacterStream(int parameterIndex,
Reader reader)
Sets the designated parameter in this
RowSet object's command
to the given Reader
object. |
void |
BaseRowSet.setCharacterStream(int parameterIndex,
Reader reader,
int length)
Sets the designated parameter to the given
java.io.Reader
object, which will have the specified number of characters. |
void |
BaseRowSet.setCharacterStream(String parameterName,
Reader reader)
Sets the designated parameter to the given
Reader
object. |
void |
BaseRowSet.setCharacterStream(String parameterName,
Reader reader,
int length)
Sets the designated parameter to the given
Reader
object, which is the given number of characters long. |
void |
BaseRowSet.setClob(int parameterIndex,
Clob x)
Sets the designated parameter to the given
Clob object in
the Java programming language. |
void |
BaseRowSet.setClob(int parameterIndex,
Reader reader)
Sets the designated parameter to a
Reader object. |
void |
BaseRowSet.setClob(int parameterIndex,
Reader reader,
long length)
Sets the designated parameter to a
Reader object. |
void |
BaseRowSet.setClob(String parameterName,
Clob x)
Sets the designated parameter to the given
java.sql.Clob object. |
void |
BaseRowSet.setClob(String parameterName,
Reader reader)
Sets the designated parameter to a
Reader object. |
void |
BaseRowSet.setClob(String parameterName,
Reader reader,
long length)
Sets the designated parameter to a
Reader object. |
void |
RowSetMetaDataImpl.setColumnCount(int columnCount)
Sets to the given number the number of columns in the
RowSet
object for which this RowSetMetaDataImpl object was created. |
void |
RowSetMetaDataImpl.setColumnDisplaySize(int columnIndex,
int size)
Sets the normal maximum number of chars in the designated column
to the given number.
|
void |
RowSetMetaDataImpl.setColumnLabel(int columnIndex,
String label)
Sets the suggested column label for use in printouts and
displays, if any, to label.
|
void |
RowSetMetaDataImpl.setColumnName(int columnIndex,
String columnName)
Sets the column name of the designated column to the given name.
|
void |
RowSetMetaDataImpl.setColumnType(int columnIndex,
int SQLType)
Sets the SQL type code for values stored in the designated column
to the given type code from the class
java.sql.Types . |
void |
RowSetMetaDataImpl.setColumnTypeName(int columnIndex,
String typeName)
Sets the type name used by the data source for values stored in the
designated column to the given type name.
|
void |
BaseRowSet.setCommand(String cmd)
Sets this
RowSet object's command property to
the given String object and clears the parameters, if any,
that were set for the previous command. |
void |
BaseRowSet.setConcurrency(int concurrency)
Sets the concurrency for this
RowSet object to
the specified concurrency. |
void |
RowSetMetaDataImpl.setCurrency(int columnIndex,
boolean property)
Sets whether a value stored in the designated column is a cash
value to the given
boolean . |
void |
BaseRowSet.setDataSourceName(String name)
Sets the
DataSource name property for this RowSet
object to the given logical name and sets this RowSet object's
Url property to null . |
void |
BaseRowSet.setDate(int parameterIndex,
Date x)
Sets the designated parameter to the given
java.sql.Date
value. |
void |
BaseRowSet.setDate(int parameterIndex,
Date x,
Calendar cal)
Sets the designated parameter to the given
java.sql.Date
object. |
void |
BaseRowSet.setDate(String parameterName,
Date x)
Sets the designated parameter to the given
java.sql.Date value
using the default time zone of the virtual machine that is running
the application. |
void |
BaseRowSet.setDate(String parameterName,
Date x,
Calendar cal)
Sets the designated parameter to the given
java.sql.Date value,
using the given Calendar object. |
void |
BaseRowSet.setDouble(int parameterIndex,
double x)
Sets the designated parameter to the given
double in the
Java programming language. |
void |
BaseRowSet.setDouble(String parameterName,
double x)
Sets the designated parameter to the given Java
double value. |
void |
BaseRowSet.setEscapeProcessing(boolean enable)
Sets to the given
boolean whether or not the driver will
scan for escape syntax and do escape substitution before sending SQL
statements to the database. |
void |
BaseRowSet.setFetchDirection(int direction)
Gives the driver a performance hint as to the direction in
which the rows in this
RowSet object will be
processed. |
void |
BaseRowSet.setFetchSize(int rows)
Sets the fetch size for this
RowSet object to the given number of
rows. |
void |
FilteredRowSet.setFilter(Predicate p)
Applies the given
Predicate object to this
FilteredRowSet
object. |
void |
BaseRowSet.setFloat(int parameterIndex,
float x)
Sets the designated parameter to the given
float in the
Java programming language. |
void |
BaseRowSet.setFloat(String parameterName,
float x)
Sets the designated parameter to the given Java
float value. |
void |
BaseRowSet.setInt(int parameterIndex,
int x)
Sets the designated parameter to an
int in the Java
programming language. |
void |
BaseRowSet.setInt(String parameterName,
int x)
Sets the designated parameter to the given Java
int value. |
void |
JoinRowSet.setJoinType(int joinType)
Allow the application to adjust the type of
JOIN imposed
on tables contained within the JoinRowSet object instance. |
void |
CachedRowSet.setKeyColumns(int[] keys)
Sets this
CachedRowSet object's keyCols
field with the given array of column numbers, which forms a key
for uniquely identifying a row in this CachedRowSet object. |
void |
BaseRowSet.setLong(int parameterIndex,
long x)
Sets the designated parameter to the given
long in the Java
programming language. |
void |
BaseRowSet.setLong(String parameterName,
long x)
Sets the designated parameter to the given Java
long value. |
void |
Joinable.setMatchColumn(int columnIdx)
Sets the designated column as the match column for this
RowSet
object. |
void |
Joinable.setMatchColumn(int[] columnIdxes)
Sets the designated columns as the match column for this
RowSet
object. |
void |
Joinable.setMatchColumn(String columnName)
Sets the designated column as the match column for this
RowSet
object. |
void |
Joinable.setMatchColumn(String[] columnNames)
Sets the designated columns as the match column for this
RowSet
object. |
void |
BaseRowSet.setMaxFieldSize(int max)
Sets the maximum number of bytes that can be used for a column
value in this
RowSet object to the given number. |
void |
BaseRowSet.setMaxRows(int max)
Sets the maximum number of rows that this
RowSet object may contain to
the given number. |
void |
CachedRowSet.setMetaData(RowSetMetaData md)
Sets the metadata for this
CachedRowSet object with
the given RowSetMetaData object. |
void |
BaseRowSet.setNCharacterStream(int parameterIndex,
Reader value)
Sets the designated parameter in this
RowSet object's command
to a Reader object. |
void |
BaseRowSet.setNCharacterStream(int parameterIndex,
Reader value,
long length)
Sets the designated parameter to a
Reader object. |
void |
BaseRowSet.setNCharacterStream(String parameterName,
Reader value)
Sets the designated parameter to a
Reader object. |
void |
BaseRowSet.setNCharacterStream(String parameterName,
Reader value,
long length)
Sets the designated parameter to a
Reader object. |
void |
BaseRowSet.setNClob(int parameterIndex,
NClob value)
Sets the designated parameter to a
java.sql.NClob object. |
void |
BaseRowSet.setNClob(int parameterIndex,
Reader reader)
Sets the designated parameter to a
Reader object. |
void |
BaseRowSet.setNClob(int parameterIndex,
Reader reader,
long length)
Sets the designated parameter to a
Reader object. |
void |
BaseRowSet.setNClob(String parameterName,
NClob value)
Sets the designated parameter to a
java.sql.NClob object. |
void |
BaseRowSet.setNClob(String parameterName,
Reader reader)
Sets the designated parameter to a
Reader object. |
void |
BaseRowSet.setNClob(String parameterName,
Reader reader,
long length)
Sets the designated parameter to a
Reader object. |
void |
BaseRowSet.setNString(int parameterIndex,
String value)
Sets the designated parameter to the given
String object. |
void |
BaseRowSet.setNString(String parameterName,
String value)
Sets the designated parameter to the given
String object. |
void |
BaseRowSet.setNull(int parameterIndex,
int sqlType)
Sets the designated parameter to SQL
NULL . |
void |
BaseRowSet.setNull(int parameterIndex,
int sqlType,
String typeName)
Sets the designated parameter to SQL
NULL . |
void |
BaseRowSet.setNull(String parameterName,
int sqlType)
Sets the designated parameter to SQL
NULL . |
void |
BaseRowSet.setNull(String parameterName,
int sqlType,
String typeName)
Sets the designated parameter to SQL
NULL . |
void |
RowSetMetaDataImpl.setNullable(int columnIndex,
int property)
Sets whether a value stored in the designated column can be set
to
NULL to the given constant from the interface
ResultSetMetaData . |
void |
BaseRowSet.setObject(int parameterIndex,
Object x)
Sets the designated parameter to an
Object in the Java
programming language. |
void |
BaseRowSet.setObject(int parameterIndex,
Object x,
int targetSqlType)
Sets the value of the designated parameter with the given
Object value. |
void |
BaseRowSet.setObject(int parameterIndex,
Object x,
int targetSqlType,
int scale)
Sets the designated parameter to an
Object in the Java
programming language. |
void |
BaseRowSet.setObject(String parameterName,
Object x)
Sets the value of the designated parameter with the given object.
|
void |
BaseRowSet.setObject(String parameterName,
Object x,
int targetSqlType)
Sets the value of the designated parameter with the given object.
|
void |
BaseRowSet.setObject(String parameterName,
Object x,
int targetSqlType,
int scale)
Sets the value of the designated parameter with the given object.
|
void |
CachedRowSet.setOriginalRow()
Sets the current row in this
CachedRowSet object as the original
row. |
void |
CachedRowSet.setPageSize(int size)
Sets the
CachedRowSet object's page-size. |
void |
RowSetMetaDataImpl.setPrecision(int columnIndex,
int precision)
Sets the total number of decimal digits in a value stored in the
designated column to the given number.
|
void |
BaseRowSet.setQueryTimeout(int seconds)
Sets to the given number the maximum number of seconds the driver will
wait for a query to execute.
|
void |
BaseRowSet.setRef(int parameterIndex,
Ref ref)
Sets the designated parameter to the given
Ref object in
the Java programming language. |
void |
BaseRowSet.setRowId(int parameterIndex,
RowId x)
Sets the designated parameter to the given
java.sql.RowId object. |
void |
BaseRowSet.setRowId(String parameterName,
RowId x)
Sets the designated parameter to the given
java.sql.RowId object. |
void |
RowSetMetaDataImpl.setScale(int columnIndex,
int scale)
Sets the number of digits to the right of the decimal point in a value
stored in the designated column to the given number.
|
void |
RowSetMetaDataImpl.setSchemaName(int columnIndex,
String schemaName)
Sets the designated column's table's schema name, if any, to
schemaName.
|
void |
RowSetMetaDataImpl.setSearchable(int columnIndex,
boolean property)
Sets whether a value stored in the designated column can be used
in a
WHERE clause to the given boolean value. |
void |
BaseRowSet.setShort(int parameterIndex,
short x)
Sets the designated parameter to the given
short in the
Java programming language. |
void |
BaseRowSet.setShort(String parameterName,
short x)
Sets the designated parameter to the given Java
short value. |
void |
BaseRowSet.setShowDeleted(boolean value)
Sets the property
showDeleted to the given
boolean value, which determines whether
rows marked for deletion appear in the set of current rows. |
void |
CachedRowSet.setShowDeleted(boolean b)
Sets the property
showDeleted to the given
boolean value, which determines whether
rows marked for deletion appear in the set of current rows. |
void |
JdbcRowSet.setShowDeleted(boolean b)
Sets the property
showDeleted to the given
boolean value. |
void |
RowSetMetaDataImpl.setSigned(int columnIndex,
boolean property)
Sets whether a value stored in the designated column is a signed
number to the given
boolean . |
void |
BaseRowSet.setSQLXML(int parameterIndex,
SQLXML xmlObject)
Sets the designated parameter to the given
java.sql.SQLXML object. |
void |
BaseRowSet.setSQLXML(String parameterName,
SQLXML xmlObject)
Sets the designated parameter to the given
java.sql.SQLXML object. |
void |
BaseRowSet.setString(int parameterIndex,
String x)
Sets the designated parameter to the given
String
value. |
void |
BaseRowSet.setString(String parameterName,
String x)
Sets the designated parameter to the given Java
String value. |
void |
CachedRowSet.setSyncProvider(String provider)
Sets the
SyncProvider object for this CachedRowSet
object to the one specified. |
void |
RowSetMetaDataImpl.setTableName(int columnIndex,
String tableName)
Sets the name of the table from which the designated column
was derived to the given table name.
|
void |
CachedRowSet.setTableName(String tabName)
Sets the identifier for the table from which this
CachedRowSet
object was derived to the given table name. |
void |
BaseRowSet.setTime(int parameterIndex,
Time x)
Sets the designated parameter to the given
java.sql.Time
value. |
void |
BaseRowSet.setTime(int parameterIndex,
Time x,
Calendar cal)
Sets the designated parameter to the given
java.sql.Time
object. |
void |
BaseRowSet.setTime(String parameterName,
Time x)
Sets the designated parameter to the given
java.sql.Time value. |
void |
BaseRowSet.setTime(String parameterName,
Time x,
Calendar cal)
Sets the designated parameter to the given
java.sql.Time value,
using the given Calendar object. |
void |
BaseRowSet.setTimestamp(int parameterIndex,
Timestamp x)
Sets the designated parameter to the given
java.sql.Timestamp value. |
void |
BaseRowSet.setTimestamp(int parameterIndex,
Timestamp x,
Calendar cal)
Sets the designated parameter to the given
java.sql.Timestamp object. |
void |
BaseRowSet.setTimestamp(String parameterName,
Timestamp x)
Sets the designated parameter to the given
java.sql.Timestamp value. |
void |
BaseRowSet.setTimestamp(String parameterName,
Timestamp x,
Calendar cal)
Sets the designated parameter to the given
java.sql.Timestamp value,
using the given Calendar object. |
void |
BaseRowSet.setTransactionIsolation(int level)
Sets the transaction isolation property for this JDBC
RowSet object to the given
constant. |
void |
BaseRowSet.setType(int type)
Sets the type for this
RowSet object to the specified type. |
void |
BaseRowSet.setUnicodeStream(int parameterIndex,
InputStream x,
int length)
Deprecated.
getCharacterStream should be used in its place
|
void |
BaseRowSet.setURL(int parameterIndex,
URL x)
Sets the designated parameter to the given
java.net.URL value. |
void |
BaseRowSet.setUrl(String url)
Sets the Url property for this
RowSet object
to the given String object and sets the dataSource name
property to null . |
CachedRowSet |
JoinRowSet.toCachedRowSet()
Creates a new
CachedRowSet object containing the
data in this JoinRowSet object, which can be saved
to a data source using the SyncProvider object for
the CachedRowSet object. |
Collection<?> |
CachedRowSet.toCollection()
Converts this
CachedRowSet object to a Collection
object that contains all of this CachedRowSet object's data. |
Collection<?> |
CachedRowSet.toCollection(int column)
Converts the designated column in this
CachedRowSet object
to a Collection object. |
Collection<?> |
CachedRowSet.toCollection(String column)
Converts the designated column in this
CachedRowSet object
to a Collection object. |
void |
CachedRowSet.undoDelete()
Cancels the deletion of the current row and notifies listeners that
a row has changed.
|
void |
CachedRowSet.undoInsert()
Immediately removes the current row from this
CachedRowSet
object if the row has been inserted, and also notifies listeners that a
row has changed. |
void |
CachedRowSet.undoUpdate()
Immediately reverses the last update operation if the
row has been modified.
|
void |
Joinable.unsetMatchColumn(int columnIdx)
Unsets the designated column as the match column for this
RowSet
object. |
void |
Joinable.unsetMatchColumn(int[] columnIdxes)
Unsets the designated columns as the match column for this
RowSet
object. |
void |
Joinable.unsetMatchColumn(String columnName)
Unsets the designated column as the match column for this
RowSet
object. |
void |
Joinable.unsetMatchColumn(String[] columnName)
Unsets the designated columns as the match columns for this
RowSet
object. |
<T> T |
RowSetMetaDataImpl.unwrap(Class<T> iface)
Returns an object that implements the given interface to allow access to non-standard methods,
or standard methods not exposed by the proxy.
|
void |
WebRowSet.writeXml(OutputStream oStream)
Writes the data, properties, and metadata for this
WebRowSet object
to the given OutputStream object in XML format. |
void |
WebRowSet.writeXml(ResultSet rs,
OutputStream oStream)
Populates this
WebRowSet object with
the contents of the given ResultSet object and writes its
data, properties, and metadata
to the given OutputStream object in XML format. |
void |
WebRowSet.writeXml(ResultSet rs,
Writer writer)
Populates this
WebRowSet object with
the contents of the given ResultSet object and writes its
data, properties, and metadata
to the given Writer object in XML format. |
void |
WebRowSet.writeXml(Writer writer)
Writes the data, properties, and metadata for this
WebRowSet object
to the given Writer object in XML format. |
| Modifier and Type | Class and Description |
|---|---|
class |
SerialException
Indicates and an error with the serialization or de-serialization of
SQL types such as
BLOB, CLOB, STRUCT or ARRAY in
addition to SQL types such as DATALINK and JAVAOBJECT |
| Modifier and Type | Method and Description |
|---|---|
void |
SerialArray.free()
This method frees the
SeriableArray object and releases the
resources that it holds. |
void |
SerialBlob.free()
This method frees the
SeriableBlob object and releases the
resources that it holds. |
void |
SerialClob.free()
This method frees the
SeriableClob object and releases the
resources that it holds. |
InputStream |
SerialClob.getAsciiStream()
Retrieves the
CLOB value designated by this SerialClob
object as an ascii stream. |
InputStream |
SerialBlob.getBinaryStream(long pos,
long length)
Returns an
InputStream object that contains a partial
Blob value, starting with the byte specified by pos, which is
length bytes in length. |
Reader |
SerialClob.getCharacterStream(long pos,
long length)
Returns a
Reader object that contains a partial
SerialClob value, starting
with the character specified by pos, which is length characters in length. |
long |
SerialBlob.position(Blob pattern,
long start)
Returns the position in this
SerialBlob object where
the given Blob object begins, starting the search at the
specified position. |
long |
SerialBlob.position(byte[] pattern,
long start)
Returns the position in this
SerialBlob object where
the given pattern of bytes begins, starting the search at the
specified position. |
long |
SerialClob.position(Clob searchStr,
long start)
Returns the position in this
SerialClob object
where the given Clob signature begins, starting
the search at the specified position. |
long |
SerialClob.position(String searchStr,
long start)
Returns the position in this
SerialClob object
where the given String object begins, starting
the search at the specified position. |
Array |
SQLInputImpl.readArray()
Reads an SQL
ARRAY value from the stream and
returns it as an Array object in the Java programming
language. |
InputStream |
SQLInputImpl.readAsciiStream()
Returns the next attribute in this
SQLInputImpl object
as a stream of ASCII characters. |
BigDecimal |
SQLInputImpl.readBigDecimal()
Retrieves the next attribute in this
SQLInputImpl object
as a java.math.BigDecimal . |
InputStream |
SQLInputImpl.readBinaryStream()
Returns the next attribute in this
SQLInputImpl object
as a stream of uninterpreted bytes. |
Blob |
SQLInputImpl.readBlob()
Retrieves the
BLOB value at the head of this
SQLInputImpl object as a Blob object
in the Java programming language. |
boolean |
SQLInputImpl.readBoolean()
Retrieves the next attribute in this
SQLInputImpl object as
a boolean in the Java programming language. |
byte |
SQLInputImpl.readByte()
Retrieves the next attribute in this
SQLInputImpl object as
a byte in the Java programming language. |
byte[] |
SQLInputImpl.readBytes()
Retrieves the next attribute in this
SQLInputImpl object
as an array of bytes. |
Reader |
SQLInputImpl.readCharacterStream()
Retrieves the next attribute in this
SQLInputImpl object
as a stream of Unicode characters. |
Clob |
SQLInputImpl.readClob()
Retrieves the
CLOB value at the head of this
SQLInputImpl object as a Clob object
in the Java programming language. |
Date |
SQLInputImpl.readDate()
Retrieves the next attribute in this
SQLInputImpl as
a java.sql.Date object. |
double |
SQLInputImpl.readDouble()
Retrieves the next attribute in this
SQLInputImpl object
as a double in the Java programming language. |
float |
SQLInputImpl.readFloat()
Retrieves the next attribute in this
SQLInputImpl object
as a float in the Java programming language. |
int |
SQLInputImpl.readInt()
Retrieves the next attribute in this
SQLInputImpl object
as an int in the Java programming language. |
long |
SQLInputImpl.readLong()
Retrieves the next attribute in this
SQLInputImpl object
as a long in the Java programming language. |
NClob |
SQLInputImpl.readNClob()
Reads an SQL
NCLOB value from the stream and returns it as a
Clob object in the Java programming language. |
String |
SQLInputImpl.readNString()
Reads the next attribute in the stream and returns it as a
String
in the Java programming language. |
Object |
SQLInputImpl.readObject()
Retrieves the value at the head of this
SQLInputImpl
object as an Object in the Java programming language. |
Ref |
SQLInputImpl.readRef()
Retrieves the value at the head of this
SQLInputImpl object
as a Ref object in the Java programming language. |
RowId |
SQLInputImpl.readRowId()
Reads an SQL
ROWID value from the stream and returns it as a
RowId object in the Java programming language. |
short |
SQLInputImpl.readShort()
Retrieves the next attribute in this
SQLInputImpl object
as a short in the Java programming language. |
SQLXML |
SQLInputImpl.readSQLXML()
Reads an SQL
XML value from the stream and returns it as a
SQLXML object in the Java programming language. |
String |
SQLInputImpl.readString()
Retrieves the next attribute in this
SQLInputImpl object as
a String in the Java programming language. |
Time |
SQLInputImpl.readTime()
Retrieves the next attribute in this
SQLInputImpl object as
a java.sql.Time object. |
Timestamp |
SQLInputImpl.readTimestamp()
Retrieves the next attribute in this
SQLInputImpl object as
a java.sql.Timestamp object. |
URL |
SQLInputImpl.readURL()
Reads an SQL
DATALINK value from the stream and
returns it as an URL object in the Java programming
language. |
OutputStream |
SerialClob.setAsciiStream(long pos)
Retrieves a stream to be used to write Ascii characters to the
CLOB value that this SerialClob object represents,
starting at position pos . |
OutputStream |
SerialBlob.setBinaryStream(long pos)
Retrieves a stream that can be used to write to the
BLOB
value that this Blob object represents. |
int |
SerialBlob.setBytes(long pos,
byte[] bytes)
Writes the given array of bytes to the
BLOB value that
this Blob object represents, starting at position
pos , and returns the number of bytes written. |
int |
SerialBlob.setBytes(long pos,
byte[] bytes,
int offset,
int length)
Writes all or part of the given
byte array to the
BLOB value that this Blob object represents
and returns the number of bytes written. |
Writer |
SerialClob.setCharacterStream(long pos)
Retrieves a stream to be used to write a stream of Unicode characters
to the
CLOB value that this SerialClob object
represents, at position pos . |
boolean |
SQLInputImpl.wasNull()
Ascertains whether the last value read from this
SQLInputImpl object was null . |
void |
SQLOutputImpl.writeArray(Array x)
Writes an
Array object in the Java
programming language to this SQLOutputImpl
object. |
void |
SQLOutputImpl.writeAsciiStream(InputStream x)
Writes a stream of ASCII characters to this
SQLOutputImpl object. |
void |
SQLOutputImpl.writeBigDecimal(BigDecimal x)
Writes a
java.math.BigDecimal object in the Java programming
language to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeBinaryStream(InputStream x)
Writes a stream of uninterpreted bytes to this
SQLOutputImpl
object. |
void |
SQLOutputImpl.writeBlob(Blob x)
Writes a
Blob object in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeBoolean(boolean x)
Writes a
boolean in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeByte(byte x)
Writes a
byte in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeBytes(byte[] x)
Writes an array of
bytes in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeCharacterStream(Reader x)
Writes a stream of Unicode characters to this
SQLOutputImpl object. |
void |
SQLOutputImpl.writeClob(Clob x)
Writes a
Clob object in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeDate(Date x)
Writes a
java.sql.Date object in the Java programming
language to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeDouble(double x)
Writes a
double in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeFloat(float x)
Writes a
float in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeInt(int x)
Writes an
int in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeLong(long x)
Writes a
long in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeNClob(NClob x)
Writes an SQL
NCLOB value to the stream. |
void |
SQLOutputImpl.writeNString(String x)
Writes the next attribute to the stream as a
String
in the Java programming language. |
void |
SQLOutputImpl.writeObject(SQLData x)
Writes to the stream the data contained in the given
SQLData object. |
void |
SQLOutputImpl.writeRef(Ref x)
Writes a
Ref object in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeRowId(RowId x)
Writes an SQL
ROWID value to the stream. |
void |
SQLOutputImpl.writeShort(short x)
Writes a
short in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeSQLXML(SQLXML x)
Writes an SQL
XML value to the stream. |
void |
SQLOutputImpl.writeString(String x)
Writes a
String in the Java programming language
to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeStruct(Struct x)
Writes a
Struct object in the Java
programming language to this SQLOutputImpl
object. |
void |
SQLOutputImpl.writeTime(Time x)
Writes a
java.sql.Time object in the Java programming
language to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeTimestamp(Timestamp x)
Writes a
java.sql.Timestamp object in the Java programming
language to this SQLOutputImpl object. |
void |
SQLOutputImpl.writeURL(URL url)
Writes an
java.sql.Type.DATALINK object in the Java
programming language to this SQLOutputImpl object. |
| Constructor and Description |
|---|
SerialArray(Array array)
Constructs a new
SerialArray object from the given
Array object. |
SerialArray(Array array,
Map<String,Class<?>> map)
Constructs a new
SerialArray object from the given
Array object, using the given type map for the custom
mapping of each element when the elements are SQL UDTs. |
SerialBlob(Blob blob)
Constructs a
SerialBlob object that is a serialized
version of the given Blob object. |
SerialBlob(byte[] b)
Constructs a
SerialBlob object that is a serialized version of
the given byte array. |
SerialClob(char[] ch)
Constructs a
SerialClob object that is a serialized version of
the given char array. |
SerialClob(Clob clob)
Constructs a
SerialClob object that is a serialized
version of the given Clob object. |
SerialRef(Ref ref)
Constructs a
SerialRef object from the given Ref
object. |
SQLInputImpl(Object[] attributes,
Map<String,Class<?>> map)
Creates an
SQLInputImpl object initialized with the
given array of attributes and the given type map. |
SQLOutputImpl(Vector<?> attributes,
Map<String,?> map)
Creates a new
SQLOutputImpl object
initialized with the given vector of attributes and
type map. |
| Modifier and Type | Class and Description |
|---|---|
class |
SyncFactoryException
Indicates an error with
SyncFactory mechanism. |
class |
SyncProviderException
Indicates an error with the
SyncProvider mechanism. |
| Modifier and Type | Method and Description |
|---|---|
void |
TransactionalWriter.commit()
Makes permanent all changes that have been performed by the
acceptChanges method since the last call to either the
commit or rollback methods. |
Object |
SyncResolver.getConflictValue(int index)
Retrieves the value in the designated column in the current row of this
SyncResolver object, which is the value in the data source
that caused a conflict. |
Object |
SyncResolver.getConflictValue(String columnName)
Retrieves the value in the designated column in the current row of this
SyncResolver object, which is the value in the data source
that caused a conflict. |
boolean |
SyncResolver.nextConflict()
Moves the cursor down from its current position to the next row that contains
a conflict value.
|
boolean |
SyncResolver.previousConflict()
Moves the cursor up from its current position to the previous conflict
row in this
SyncResolver object. |
void |
XmlReader.readXML(WebRowSet caller,
Reader reader)
Reads and parses the given
WebRowSet object from the given
input stream in XML format. |
void |
TransactionalWriter.rollback()
Undoes all changes made in the current transaction.
|
void |
TransactionalWriter.rollback(Savepoint s)
Undoes all changes made in the current transaction made prior to the given
Savepoint object. |
void |
SyncResolver.setResolvedValue(int index,
Object obj)
Sets obj as the value in column index in the current row of the
RowSet object that is being synchronized. |
void |
SyncResolver.setResolvedValue(String columnName,
Object obj)
Sets obj as the value in column columnName in the current row of the
RowSet object that is being synchronized. |
void |
XmlWriter.writeXML(WebRowSet caller,
Writer writer)
Writes the given
WebRowSet object to the specified
java.io.Writer output stream as an XML document. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.


| write.river.newNML | R Documentation |
A new fortran namelist file is created. It contains the two nameslists 'DIMENSIONS' and 'RIVERS'. 'RIVERS', contains the variables 'KRQI' and 'RWQI'. 'KRQI' contains the x- and y-coordinates of the grid cells, in which the rivers enter the sea. 'RWQI' contains the actual inflow data of each river.
write.river.newNML(riverInfo, riverData, dOt, year, overwrite = TRUE, warn = TRUE)
riverInfo |
list with grid information |
riverData |
list with river inflow data |
dOt |
character; directory into which the final file should be written |
year |
integer; year to write out |
overwrite |
logical; overwrite 'dOt/filename' it already exists |
warn |
logical; allow/suppress warnings |
file written
Daniel Neumann<EMAIL_ADDRESS>write.river.netCDF, write.river.newInflow, write.river.append2NML
# read a file: test.mom.monthly <- read.river.mom('files/GER_Dan_Str_Warnow.dat') # calculate annual means from monthly data test.mom.annual <- mean.river.mom(test.mom.monthly, to = 'annual') # get grid info grid_info <- get.infos.grids.hbm.basic() # get river infos file <- 'files/river_list.dat' riverInfos <- read.infos.rivers(file, grid_info) # (you will get some warnings here) # write new namelist write.river.newNML(riverInfos$Warnow, test.mom.annual, 'out_dir', 2012, overwrite=FALSE) ## example content of an output file: # &DIMENSIONS # EW=0, NS=0, LAYERS=0, NZBND=0, NUBND=0, NVBND=0, NRIVERS=1, NUDAMS=0, NVDAMS=0, NWEIRS=0 # / # &RIVERS # KRQI=0, 0, 253, 289, RWQI=0.000000000000000000E+00, 3.53739587431693980 # / &DIMENSIONS EW=630, NS=387, LAYERS=25, NZBND=858, NUBND=0, NVBND=0, NRIVERS=8, NUDAMS=0, NVDAMS=0, NWEIRS=0 / &RIVERS KRQI=0, 0, 341, 606, 376, 82, 386, 169, 364, 302, 263, 193, 84, 579, 26, 477, 65, 159, RWQI=0.000000000000000000E+00,<PHONE_NUMBER>00000000,<PHONE_NUMBER>00000000,<PHONE_NUMBER>00000000, 90 0.000000000000000, 37.0000000000000000, 48.0000000000000000, 21.0000000000000000,<PHONE_NUMBER>00000000 / TODOs: - write NRIVERS in DIMENSIONS namelist - write coordinates (grid cell indices!) and inflow to RIVERS: --Y,X,VAL --MONTHLY (m3/s)


Search
Preparing search index...
The search index is not available
joj-core
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"Player"
External module "Player"
Index
Variables
create
Black
Player
create
Player
create
White
Player
Functions
create
Players
Object literals
initial
Players
Variables
create
Black
Player
create
Black
Player
:
function
= createPlayer(true)
Type declaration
(
t2
:
T2
)
:
R
Parameters
t2:
T2
Returns
R
create
Player
create
Player
:
CurriedFunction2
<
boolean
,
IPlayerArgs
,
IPlayer
>
= R.curry((isBlack: boolean, args: I.IPlayerArgs): I.IPlayer => {return {isAi: args.isAi,name: args.name,foto: args.foto,isBlack};})
create
White
Player
create
White
Player
:
function
= createPlayer(false)
Type declaration
(
t2
:
T2
)
:
R
Parameters
t2:
T2
Returns
R
Functions
create
Players
create
Players
(
args
:
IPlayersArgs
)
:
IPlayers
Parameters
args:
IPlayersArgs
Returns
IPlayers
Object literals
initial
Players
initial
Players
:
object
black
black
:
object
is
Black
is
Black
:
boolean
= true
name
name
:
string
= "Black"
white
white
:
object
is
Black
is
Black
:
boolean
= false
name
name
:
string
= "White"
Globals
"
Board"
"
Game"
"
Move"
"
Player"
"
Position"
"
Score"
"index"
"typings/IAi.d"
"typings/IBoard.d"
"typings/IGame.d"
"typings/IMove.d"
"typings/IPlayer.d"
"typings/IPosition.d"
"typings/IScore.d"
"typings/index.d"
create
Black
Player
create
Player
create
White
Player
create
Players
initial
Players
Generated using
TypeDoc


CLAY PIGEONS
Reviewed by Harvey Karten, Ph.D. Gramercy Pictures/Polygram Director: David Dobkin Writer: Matt Healy Cast: Joaquin Phoenix, Vince Vaughn, Janeane Garofalo, Georgina Cates, Scott Wilson
As a dark comedy that takes place in a small Montana town--the sort of site an urban traveler avoids even if he needs gas--"Clay Pigeons" recalls the crazy antics of "Fargo." Yet it's a work of considerable originality that has been made, surprisingly, by a first-time director and by a screenwriter who is making a debut in his field as well. Breaking with the typical SmallTownUSA picture, helmer David Dobkin and scripter Matt Healy do not concern themselves a heck of a lot with exposition. Scant minutes into its opening, a guy is pointing a gun at his best friend, whom he accuses of having a torrid affair with his wife, and pulls the trigger. But the fellow on the ground is not the author of the bedroom intrigue but the shooter himself.
The the stick-in-your-throat laughs and unanticipated incidents continue from there without interlude in "Clay Pigeons," an innovative program which manages to lampoon the American pueblo while taking an easygoing, Pulp Fiction attitude toward a captivating murderer.
Like "Fargo," this movie commutes easily among the genres of satire, comedy, and melodrama, giving the scoundrel the best lines and keenest temperament in the story. Only one of the residents of Mercer, Montana (actually filmed in various hamlets of the beautiful state of Utah) is a bumpkin, the others acting as prototypes for stable scout, slatternly slut, laid-back law-officer, magnetic malefactor and caustic cop. The acting is so aw-shucks convincing, backed up by such a bounteous sound-track of 70s country-style music that "Clay Pigeons" delights throughout. But be advised: if you're the kind who shocks easily when you see callous killings treated with a down-home posture, you'll consider this sort of film the sort that's causing the decline and fall of American civilization.
The story opens on a shooting match as best friends Earl (Fregory Sporleder) and Clay (Joaquin Phoenix) test their skills at shattering beer bottles. Earl suddenly turns on Clay, accusing him of having an affair with his wife. In the conventional picture, Earl would either blow his friend away or lose his chance in some hand-to-hand combat. But just about everything in this yarn turns out the converse of what you expect. Clay returns to the newly widowed but conspicuously unconcerned Amanda (Georgina Cates), is disgusted by her lack of distress, and after shifting his libidinous intent to another Montana enchantress is plunged into an ambivalent fellowship with the engaging visitor, Lester Long (Vince Vaughn), whose swollen cowboy Panama matches his towering personality.
If Mercer, Montana is ethnically homogeneous and surely no New York, NY, it is nonetheless filled with characters as varied as those in a large metropolis. The gorgeous, British- born Georgina Cates turns in a muscular baby-doll performance as a hard, chain-smoking trollop who sets her sights on everyone except the guy she married, and Joaquin Phoenix is again reliable, as in "Return to Paradise" as bewildered guy who gets more than he envisioned-- considering his career as a jockey in a dilapidated gas station. He finds himself confronted with the sardonically deadpanned Janeane Garofalo as federal agent Shelby who, unamused at an attempt to pick her up in the village bar assures the lusty cowboy that the seat next to her is taken: "for the first person not wearing denim."
Best of all is Vince Vaughn, who worked together with Mr. Phoenix in a more forthright role in "Return to Paradise," and who shows his depth in a wholly distinct performance. His Lester Long is clap-on-your back clamorous, his congeniality covering a penchant for slashing young women--his contempt excited by the ease with which his victims flock to his all- American allure. Changing easily and frequently from hale- fellow to inflamed slayer, he attacks his unsuspecting prey with a calmness that belies each operation. Also cleverly drawn is Sheriff Mooney (Scott Wilson), an unexcitable peace officer who can fool people into thinking he'd rather build model boats--while prying essential information from suspects and witnesses.
Being the sort of movie in which everything turns out the contrary of what you'd expect, it is also one of the few stories featuring a cigarette that saves lives instead of ruining them. Director Dobkin skillfully retains a light touch, giving the twenty-five songs their chance to be heard.
Rated R. Running Time: 104 minutes. (C) 1998 Harvey Karten
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


const TagsFlagDoc = "a list of `build tags` to consider satisfied during the build. " +
"For more information about build tags, see the description of " +
"build constraints in the documentation for the go/build package"
func AllPackages(ctxt *build.Context) []string
AllPackages returns the package path of each Go package in any source directory of the specified build context (e.g. $GOROOT or an element of $GOPATH). Errors are ignored. The results are sorted. All package paths are canonical, and thus may contain "/vendor/".
The result may include import paths for directories that contain no *.go files, such as "archive" (in $GOROOT/src).
All I/O is done via the build.Context file system interface, which must be concurrency-safe.
func ContainingPackage(ctxt *build.Context, dir, filename string) (*build.Package, error)
ContainingPackage returns the package containing filename.
If filename is not absolute, it is interpreted relative to working directory dir. All I/O is via the build context's file system interface, if any.
The '...Files []string' fields of the resulting build.Package are not populated (build.FindOnly mode).
func ExpandPatterns(ctxt *build.Context, patterns []string) map[string]bool
ExpandPatterns returns the set of packages matched by patterns, which may have the following forms:
golang.org/x/tools/cmd/guru # a single package golang.org/x/tools/... # all packages beneath dir ... # the entire workspace.
Order is significant: a pattern preceded by '-' removes matching packages from the set. For example, these patterns match all encoding packages except encoding/xml:
encoding/... -encoding/xml
A trailing slash in a pattern is ignored. (Path components of Go package names are separated by slash, not the platform's path separator.)
func FakeContext(pkgs map[string]map[string]string) *build.Context
FakeContext returns a build.Context for the fake file tree specified by pkgs, which maps package import paths to a mapping from file base names to contents.
The fake Context has a GOROOT of "/go" and no GOPATH, and overrides the necessary file access methods to read from memory instead of the real file system.
Unlike a real file tree, the fake one has only two levels---packages and files---so ReadDir("/go/src/") returns all packages under /go/src/ including, for instance, "math" and "math/big". ReadDir("/go/src/math/big") would return all the files in the "math/big" package.
func FileExists(ctxt *build.Context, path string) bool
FileExists returns true if the specified file exists, using the build context's file system interface.
func ForEachPackage(ctxt *build.Context, found func(importPath string, err error))
ForEachPackage calls the found function with the package path of each Go package it finds in any source directory of the specified build context (e.g. $GOROOT or an element of $GOPATH). All package paths are canonical, and thus may contain "/vendor/".
If the package directory exists but could not be read, the second argument to the found function provides the error.
All I/O is done via the build.Context file system interface, which must be concurrency-safe.
func HasSubdir(ctxt *build.Context, root, dir string) (rel string, ok bool)
hasSubdir calls ctxt.HasSubdir (if not nil) or else uses the local file system to answer the question.
func IsAbsPath(ctxt *build.Context, path string) bool
IsAbsPath behaves like filepath.IsAbs, but uses the build context's file system interface, if any.
func IsDir(ctxt *build.Context, path string) bool
IsDir behaves like os.Stat plus IsDir, but uses the build context's file system interface, if any.
func JoinPath(ctxt *build.Context, path ...string) string
JoinPath behaves like filepath.Join, but uses the build context's file system interface, if any.
func OpenFile(ctxt *build.Context, path string) (io.ReadCloser, error)
OpenFile behaves like os.Open, but uses the build context's file system interface, if any.
func OverlayContext(orig *build.Context, overlay map[string][]byte) *build.Context
OverlayContext overlays a build.Context with additional files from a map. Files in the map take precedence over other files.
In addition to plain string comparison, two file names are considered equal if their base names match and their directory components point at the same directory on the file system. That is, symbolic links are followed for directories, but not files.
A common use case for OverlayContext is to allow editors to pass in a set of unsaved, modified files.
Currently, only the Context.OpenFile function will respect the overlay. This may change in the future.
func ParseFile(fset *token.FileSet, ctxt *build.Context, displayPath func(string) string, dir string, file string, mode parser.Mode) (*ast.File, error)
ParseFile behaves like parser.ParseFile, but uses the build context's file system interface, if any.
If file is not absolute (as defined by IsAbsPath), the (dir, file) components are joined using JoinPath; dir must be absolute.
The displayPath function, if provided, is used to transform the filename that will be attached to the ASTs.
TODO(adonovan): call this from go/loader.parseFiles when the tree thaws.
func ParseOverlayArchive(archive io.Reader) (map[string][]byte, error)
ParseOverlayArchive parses an archive containing Go files and their contents. The result is intended to be used with OverlayContext.
The archive consists of a series of files. Each file consists of a name, a decimal file size and the file contents, separated by newlines. No newline follows after the file contents.
func ReadDir(ctxt *build.Context, path string) ([]os.FileInfo, error)
ReadDir behaves like ioutil.ReadDir, but uses the build context's file system interface, if any.
func SplitPathList(ctxt *build.Context, s string) []string
SplitPathList behaves like filepath.SplitList, but uses the build context's file system interface, if any.
TagsFlag is an implementation of the flag.Value and flag.Getter interfaces that parses a flag value in the same manner as go build's -tags flag and populates a []string slice.
See $GOROOT/src/go/build/doc.go for description of build tags. See $GOROOT/src/cmd/go/doc.go for description of 'go build -tags' flag.
Example:
flag.Var((*buildutil.TagsFlag)(&build.Default.BuildTags), "tags", buildutil.TagsFlagDoc)
type TagsFlag []string
func (v *TagsFlag) Get() interface{}
func (v *TagsFlag) Set(s string) error
func (v *TagsFlag) String() string


Akan Name Birthday Calculator
This web application should be able to take a user's birthday and calculate the day of the week they were born depending on their gender outputs their Akan name.
Date-of-Birth:
Male
Female
Name


Toggle navigation
Fancy Learning System
Announcement
Files
Quiz
Grades
Back
Files
Introduction of Romeo and Juliet
Introduction of English Literature
introduction of Shakespeare
Previous
Next


Welcome
Blog
Portfolio
Résumé
Natty's DevBootcamp Blog
Thanks for visiting my blog page!
Please click the links below to read my posts.
Technical Blog Posts:
Week 1: Git and GitHub
Week 2: CSS Positioning Property
Week 3: Arrays and Hashes
Week 4: The
Enumerable#count_by
Method
Week 5: Classes in Ruby
Week 6: Object-Oriented Concepts
Week 7: JavaScript versus Ruby
Week 8: Regular Expressions
Cultural Blog Posts:
Week 1: Fireside Chat with Shereef
Week 3: Thinking and Learning Style
Week 4: Issues Faced by the Tech Industry
Week 5: Pairing and Giving Feedback
Week 6: Stereotype Threat
Week 7: Affirmation
Week 8: Personal Conflicts
Week 9: Asking Good Questions
Cheat Sheets:
Ruby Hashes and Arrays
(by
Logan
and me)
Git
(by
Andy
and
Charles
)


Wizard Budget, v7.0
Copyright © 2015 thewizardplusplus
The application was written directly on the Android smartphone with AIDE IDE .
App icon
Copyright © 2012 gnokii, https://openclipart.org/detail/171507/money-pot-by-gnokii-171507
The Public Domain
Add widget icon
Copyright © 2015 sixsixfive, https://openclipart.org/detail/212376/rodentia-icons_list-add-by-sixsixfive-212376
The Public Domain
Ruble widget icon
Copyright © Freepik, http://www.flaticon.com/free-icon/ruble-currency-sign_38559
CC BY 3.0
Clock widget icon
Copyright © 2005 dannya, https://openclipart.org/detail/201191/primary-timeedit
The Public Domain
Hours update widget icon
Copyright © 2015 sixsixfive, https://openclipart.org/detail/211882/matticonsviewrefresh
The Public Domain
Shopping cart widget icon
Copyright © 2010 voyeg3r, https://openclipart.org/detail/60139/shopping-cart
The Public Domain
All icons prepared by Android Asset Studio and are licensed under a CC BY 3.0.
Ratchet
Copyright © 2014 connors and other contributors
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the «Software»), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
The software is provided «as is», without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.
Font Awesome
Copyright © Dave Gandy, http://fontawesome.io
SIL Open Font License Version 1.1 — 26 February 2007
Preamble
The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others.
The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives.
Definitions
«Font Software» refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation.
«Reserved Font Name» refers to any names specified as such after the copyright statement(s).
«Original Version» refers to the collection of Font Software components as distributed by the Copyright Holder(s).
«Modified Version» refers to any derivative made by adding to, deleting, or substituting — in part or in whole — any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment.
«Author» refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software.
Permission & conditions
Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions:
- Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself.
- Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user.
- No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users.
- The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission.
- The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software.
Termination
This license becomes null and void if any of the above conditions are not met.
Disclaimer
The font software is provided «as is», without warranty of any kind, express or implied, including but not limited to any warranties of merchantability, fitness for a particular purpose and noninfringement of copyright, patent, trademark, or other right. In no event shall the copyright holder be liable for any claim, damages or other liability, including any general, special, indirect, incidental, or consequential damages, whether in an action of contract, tort or otherwise, arising from, out of the use or inability to use the font software or from other dealings in the font software.
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the «Software»), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
The software is provided «as is», without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.
jQuery
Copyright © 2005-2014 jQuery Foundation and other contributors, https://jquery.org/
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the «Software»), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
The software is provided «as is», without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.
Moment.js
Copyright © 2011-2014 Tim Wood, Iskren Chernev, Moment.js contributors
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the «Software»), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
The software is provided «as is», without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.
Wizard Tags
Copyright © 2015 thewizardplusplus
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the «Software»), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
The software is provided «as is», without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.
Sortable
Copyright © 2013-2015 Lebedev Konstantin<EMAIL_ADDRESS>http://rubaxa.github.io/Sortable/
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the «Software»), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
The software is provided «as is», without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.


Like sed, awk executes a set of instructions for each line of input. You can specify instructions on the command line or create a script file.
For command lines, the syntax is:
awk '
instructions
'
files
Input is read a line at a time from one or more files or from standard input. The instructions must be enclosed in single quotes to protect them from the shell. (Instructions almost always contain curly braces and/or dollar signs, which are interpreted as special characters by the shell.) Multiple command lines can be entered in the same way as shown for sed: separating commands with semicolons or using the multiline input capability of the Bourne shell.
Awk programs are usually placed in a file where they can be tested and modified. The syntax for invoking awk with a script file is:
awk -f
script
files
The -f option works the same way as it does with sed.
While awk instructions have the same structure as sed, consisting of pattern and procedure sections, the procedures themselves are quite different. Here is where awk looks less like an editor and more like a programming language. There are statements and functions instead of one- or two-character command sequences. For instance, you use the print statement to print the value of an expression or to print the contents of the current input line.
Awk, in the usual case, interprets each input line as a record and each word on that line, delimited by spaces or tabs, as a field. (These defaults can be changed.) One or more consecutive spaces or tabs count as a single delimiter. Awk allows you to reference these fields, in either patterns or procedures. $0 represents the entire input line. $1, $2, ... refer to the individual fields on the input line. Awk splits the input record before the script is applied. Let's look at a few examples, using the sample input file list.
The first example contains a single instruction that prints the first field of each line in the input file.
$awk '{ print $1 }' list
John Alice Orville Terry Eric Hubert Amy Sal
"$1" refers to the value of the first field on each input line. Because there is no pattern specified, the print statement is applied to all lines. In the next example, a pattern "/MA/" is specified but there is no procedure. The default action is to print each line that matches the pattern.
$awk '/MA/' list
John Daggett, 341 King Road, Plymouth MA Eric Adams, 20 Post Road, Sudbury MA Sal Carpenter, 73 6th Street, Boston MA
Three lines are printed. As mentioned in the first chapter, an awk program can be used more like a query language, extracting useful information from a file. We might say that the pattern placed a condition on the selection of records to be included in a report, namely that they must contain the string "MA". Now we can also specify what portion of a record to include in the report. The next example uses a print statement to limit the output to the first field of each record.
$awk '/MA/ { print $1 }' list
John Eric Sal
It helps to understand the above instruction if we try to read it aloud: Print the first word of each line containing the string "MA". We can say "word" because by default awk separates the input into fields using either spaces or tabs as the field separator.
In the next example, we use the -F option to change the field separator to a comma. This allows us to retrieve any of three fields: the full name, the street address, or the city and state.
$awk -F, '/MA/ { print $1 }' list
John Daggett Eric Adams Sal Carpenter
Do not confuse the -F option to change the field separator with the -f option to specify the name of a script file.
In the next example, we print each field on its own line. Multiple commands are separated by semicolons.
$awk -F, '{ print $1; print $2; print $3 }' list
John Daggett 341 King Road Plymouth MA Alice Ford 22 East Broadway Richmond VA Orville Thomas 11345 Oak Bridge Road Tulsa OK Terry Kalkas 402 Lans Road Beaver Falls PA Eric Adams 20 Post Road Sudbury MA Hubert Sims 328A Brook Road Roanoke VA Amy Wilde 334 Bayshore Pkwy Mountain View CA Sal Carpenter 73 6th Street Boston MA
Our examples using sed changed the content of incoming data. Our examples using awk rearrange the data. In the preceding awk example, note how the leading blank is now considered part of the second and third fields.
Each implementation of awk gives you different error messages when it encounters problems in your program. Thus, we won't quote a particular version's messages here; it'll be obvious when there's a problem. Messages can be caused by any of the following:
Not enclosing a procedure within braces ({})
Not surrounding the instructions within single quotes (`')
Not enclosing regular expressions within slashes (//)
Table 2.2 summarizes the awk command-line options.
| Option | Description |
|---|---|
| -f | Filename of script follows. |
| -F | Change field separator. |
| -v | var=value follows. |
The -v option for specifying parameters on the command line is discussed in Chapter 7, Writing Scripts for awk.


Maximum Likelihood Estimation¶
Stan provides optimization algorithms which find modes of the density specified by a Stan program. Three different algorithms are available: a Newton optimizer, and two related quasi-Newton algorithms, BFGS and L-BFGS. The L-BFGS algorithm is the default optimizer. Newton’s method is the least efficient of the three, but has the advantage of setting its own stepsize.
Optimize configuration¶
algorithm
: Algorithm to use. One of: “BFGS”, “LBFGS”, “Newton”.init_alpha
: Line search step size for first iteration.iter
: Total number of iterations.
data
: Values for all data variables in the model, specified either as a dictionary with entries matching the data variables, or as the path of a data file in JSON or Rdump format.seed
: The seed for random number generator.inits
: Specifies how the sampler initializes parameter values.output_dir
: Name of the directory to which CmdStan output files are written.save_diagnostics
: Whether or not to the CmdStan auxiliary output file. For thesample
method, the diagnostics file contains sampler information for each draw together with the gradients on the unconstrained scale and log probabilities for all parameters in the model.
All of these arguments are optional; when unspecified, the CmdStan defaults will be used.
Example: estamate MLE for model bernoulli.stan
by optimization¶
In this example we use the CmdStan example model bernoulli.stan and data file bernoulli.data.json.
The CmdStanModel class method optimize
returns a CmdStanMLE
object
which provides properties to retrieve the estimate of the
penalized maximum likelihood estaimate of all model parameters:
column_names
optimized_params_dict
optimized_params_np
optimized_params_pd
In the following example, we instantiate a model and do optimization using the default CmdStan settings:
import os
from cmdstanpy.model import CmdStanModel
from cmdstanpy.utils import cmdstan_path
# instantiate, compile bernoulli model
bernoulli_path = os.path.join(cmdstan_path(), 'examples', 'bernoulli', 'bernoulli.stan')
bernoulli_model = CmdStanModel(stan_file=bernoulli_path)
# run CmdStan's optimize method, returns object `CmdStanMLE`
bern_data = os.path.join(cmdstan_path(), 'examples', 'bernoulli', 'bernoulli.data.json')
bern_mle = bernoulli_model.optimize(data=bernoulli_data)
print(bern_mle.column_names)
print(bern_mle.optimized_params_dict)


Reports that built-in matchers in specs2 could be used.
Example:
class TestSpec extends Specification { def is = s2"""
This is a spec
opt
should contain 1 $e1
"""
def e1 = {
val opt = Some(1)
opt must equalTo (Some(1))
}
}
After the quick-fix is applied:
class TestSpec extends Specification { def is = s2"""
This is a spec
opt
should contain 1 $e1
"""
def e1 = {
val opt = Some(1)
opt must beSome(1)
}
}