Uses of Class
java.sql.Time
-
Packages that use Time Package Description java.sql Provides the API for accessing and processing data stored in a data source (usually a relational database) using the Java™ programming language.javax.sql Provides the API for server side data source access and processing from the Java™ programming language.javax.sql.rowset Standard interfaces and base classes for JDBCRowSetimplementations.javax.sql.rowset.serial Provides utility classes to allow serializable mappings between SQL types and data types in the Java programming language. -
-
Uses of Time in java.sql
Methods in java.sql that return Time Modifier and Type Method Description TimeCallableStatement. getTime(int parameterIndex)Retrieves the value of the designated JDBCTIMEparameter as ajava.sql.Timeobject.TimeCallableStatement. getTime(int parameterIndex, Calendar cal)Retrieves the value of the designated JDBCTIMEparameter as ajava.sql.Timeobject, using the givenCalendarobject to construct the time.TimeCallableStatement. getTime(String parameterName)Retrieves the value of a JDBCTIMEparameter as ajava.sql.Timeobject.TimeCallableStatement. getTime(String parameterName, Calendar cal)Retrieves the value of a JDBCTIMEparameter as ajava.sql.Timeobject, using the givenCalendarobject to construct the time.TimeResultSet. getTime(int columnIndex)Retrieves the value of the designated column in the current row of thisResultSetobject as ajava.sql.Timeobject in the Java programming language.TimeResultSet. getTime(int columnIndex, Calendar cal)Retrieves the value of the designated column in the current row of thisResultSetobject as ajava.sql.Timeobject in the Java programming language.TimeResultSet. getTime(String columnLabel)Retrieves the value of the designated column in the current row of thisResultSetobject as ajava.sql.Timeobject in the Java programming language.TimeResultSet. getTime(String columnLabel, Calendar cal)Retrieves the value of the designated column in the current row of thisResultSetobject as ajava.sql.Timeobject in the Java programming language.TimeSQLInput. readTime()Reads the next attribute in the stream and returns it as ajava.sql.Timeobject.static TimeTime. valueOf(String s)Converts a string in JDBC time escape format to aTimevalue.static TimeTime. valueOf(LocalTime time)Obtains an instance ofTimefrom aLocalTimeobject with the same hour, minute and second time value as the givenLocalTime.Methods in java.sql with parameters of type Time Modifier and Type Method Description voidCallableStatement. setTime(String parameterName, Time x)Sets the designated parameter to the givenjava.sql.Timevalue.voidCallableStatement. setTime(String parameterName, Time x, Calendar cal)Sets the designated parameter to the givenjava.sql.Timevalue, using the givenCalendarobject.voidPreparedStatement. setTime(int parameterIndex, Time x)Sets the designated parameter to the givenjava.sql.Timevalue.voidPreparedStatement. setTime(int parameterIndex, Time x, Calendar cal)Sets the designated parameter to the givenjava.sql.Timevalue, using the givenCalendarobject.voidResultSet. updateTime(int columnIndex, Time x)Updates the designated column with ajava.sql.Timevalue.voidResultSet. updateTime(String columnLabel, Time x)Updates the designated column with ajava.sql.Timevalue.voidSQLOutput. writeTime(Time x)Writes the next attribute to the stream as a java.sql.Time object. -
Uses of Time in javax.sql
Methods in javax.sql with parameters of type Time Modifier and Type Method Description voidRowSet. setTime(int parameterIndex, Time x)Sets the designated parameter in thisRowSetobject's command to the givenjava.sql.Timevalue.voidRowSet. setTime(int parameterIndex, Time x, Calendar cal)Sets the designated parameter in thisRowSetobject's command with the givenjava.sql.Timevalue.voidRowSet. setTime(String parameterName, Time x)Sets the designated parameter to the givenjava.sql.Timevalue.voidRowSet. setTime(String parameterName, Time x, Calendar cal)Sets the designated parameter to the givenjava.sql.Timevalue, using the givenCalendarobject. -
Uses of Time in javax.sql.rowset
Methods in javax.sql.rowset with parameters of type Time Modifier and Type Method Description voidBaseRowSet. setTime(int parameterIndex, Time x)Sets the designated parameter to the givenjava.sql.Timevalue.voidBaseRowSet. setTime(int parameterIndex, Time x, Calendar cal)Sets the designated parameter to the givenjava.sql.Timeobject.voidBaseRowSet. setTime(String parameterName, Time x)Sets the designated parameter to the givenjava.sql.Timevalue.voidBaseRowSet. setTime(String parameterName, Time x, Calendar cal)Sets the designated parameter to the givenjava.sql.Timevalue, using the givenCalendarobject. -
Uses of Time in javax.sql.rowset.serial
Methods in javax.sql.rowset.serial that return Time Modifier and Type Method Description TimeSQLInputImpl. readTime()Retrieves the next attribute in thisSQLInputImplobject as ajava.sql.Timeobject.Methods in javax.sql.rowset.serial with parameters of type Time Modifier and Type Method Description voidSQLOutputImpl. writeTime(Time x)Writes ajava.sql.Timeobject in the Java programming language to thisSQLOutputImplobject.
-