Package stanford.netdb.middleware
Class DB_IPaddress
- java.lang.Object
-
- stanford.netdb.logging.NetDB_Logger
-
- stanford.netdb.middleware.DB_Statement
-
- stanford.netdb.middleware.DB_IPaddress
-
- All Implemented Interfaces:
java.io.Serializable
public class DB_IPaddress extends DB_Statement
This class generates the SQL that is called in the database. Each method sets up the necessary variables containing the argument names and types, in the format that NetDB_Connection expects.- See Also:
NetDB_Connection, Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class stanford.netdb.middleware.DB_Statement
DB_Statement.STATEMENT_TYPE
-
-
Field Summary
Fields Modifier and Type Field Description static longserialVersionUID-
Fields inherited from class stanford.netdb.middleware.DB_Statement
ORA_FUN_CALL, ORA_PROC_CALL, SELECT
-
-
Constructor Summary
Constructors Constructor Description DB_IPaddress()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DB_Statementaccept(java.lang.Long p_op_uid, java.lang.String p_address, java.lang.Long p_active, java.lang.Long p_PTRpref, java.lang.Long p_referent_id, java.sql.Timestamp p_lock, java.lang.String p_referent_type)Generate the arguments for the corresponding stored procedure in the database.DB_Statementaccept(java.lang.Long p_op_uid, java.lang.String p_address, java.lang.Long p_PTRpref, java.lang.Long p_referent_id, java.sql.Timestamp p_lock, java.lang.String p_referent_type)Generate the arguments for the corresponding stored procedure in the database.DB_Statementaccept(java.lang.Long p_op_uid, java.lang.String p_address, java.lang.Long p_referent_id, java.sql.Timestamp p_lock, java.lang.String p_referent_type)Generate the arguments for the corresponding stored procedure in the database.DB_Statementcancel(java.lang.Long p_op_uid, java.lang.String p_address)Generate the arguments for the corresponding stored procedure in the database.DB_Statementclosest_name(java.lang.String p_ipaddress)Generate the arguments for the corresponding stored procedure in the database.DB_Statementdelete(java.lang.Long p_op_uid, java.sql.Timestamp p_lock, java.lang.Long p_address_id)Generate the arguments for the corresponding stored procedure in the database.java.lang.Stringget_SQL(java.lang.String schema)Generate a SQL string with the appropriate values set for each argument.DB_Statementhandle(java.lang.Long p_address_id)Generate the arguments for the corresponding stored procedure in the database.DB_Statementhandle(java.lang.Long p_address_id, java.lang.Boolean user_readable)Generate the arguments for the corresponding stored procedure in the database.DB_Statementinfo(java.lang.Long p_address_id, java.lang.Long p_node_id, java.lang.Long p_interface_id, java.lang.Long p_address_space_id)Generate the arguments for the corresponding stored procedure in the database.DB_Statementlocked_or_die(java.lang.Long p_op_uid, java.sql.Timestamp p_lock, java.lang.Long p_address_id)Generate the arguments for the corresponding stored procedure in the database.DB_Statementreserve(java.lang.Long p_op_uid, java.lang.String p_start)Generate the arguments for the corresponding stored procedure in the database.DB_Statementreserve(java.lang.Long p_op_uid, java.lang.String p_start, java.lang.Long p_contiguous)Generate the arguments for the corresponding stored procedure in the database.DB_Statementreserve(java.lang.Long p_op_uid, java.lang.String p_start, java.lang.Long p_exact, java.lang.Long p_contiguous)Generate the arguments for the corresponding stored procedure in the database.DB_Statementreserve(java.lang.Long p_op_uid, java.lang.String p_start, java.lang.Long p_count, java.lang.Long p_exact, java.lang.Long p_contiguous)Generate the arguments for the corresponding stored procedure in the database.DB_Statementupdate(java.lang.Long p_op_uid, java.sql.Timestamp p_lock, java.lang.Long p_address_id, java.lang.Long p_active, java.lang.Long p_PTRpref)Generate the arguments for the corresponding stored procedure in the database.DB_Statementverify_or_die(java.lang.Long p_address_id)Generate the arguments for the corresponding stored procedure in the database.DB_Statementverify_or_die(java.lang.Long p_address_id, java.lang.String p_address)Generate the arguments for the corresponding stored procedure in the database.DB_Statementverify_or_die(java.lang.String p_address)Generate the arguments for the corresponding stored procedure in the database.-
Methods inherited from class stanford.netdb.middleware.DB_Statement
get_first_out_param, get_next_out_param, get_parameter_name, get_type, get_values, statement_max_tries, statement_max_tries, statement_timeout, statement_timeout, toString
-
Methods inherited from class stanford.netdb.logging.NetDB_Logger
default_logger, default_logger, logger, logger
-
-
-
-
Field Detail
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
get_SQL
public java.lang.String get_SQL(java.lang.String schema)
Generate a SQL string with the appropriate values set for each argument.
-
accept
public DB_Statement accept(java.lang.Long p_op_uid, java.lang.String p_address, java.lang.Long p_active, java.lang.Long p_PTRpref, java.lang.Long p_referent_id, java.sql.Timestamp p_lock, java.lang.String p_referent_type)
Generate the arguments for the corresponding stored procedure in the database.
-
accept
public DB_Statement accept(java.lang.Long p_op_uid, java.lang.String p_address, java.lang.Long p_PTRpref, java.lang.Long p_referent_id, java.sql.Timestamp p_lock, java.lang.String p_referent_type)
Generate the arguments for the corresponding stored procedure in the database.
-
accept
public DB_Statement accept(java.lang.Long p_op_uid, java.lang.String p_address, java.lang.Long p_referent_id, java.sql.Timestamp p_lock, java.lang.String p_referent_type)
Generate the arguments for the corresponding stored procedure in the database.
-
cancel
public DB_Statement cancel(java.lang.Long p_op_uid, java.lang.String p_address)
Generate the arguments for the corresponding stored procedure in the database.
-
closest_name
public DB_Statement closest_name(java.lang.String p_ipaddress)
Generate the arguments for the corresponding stored procedure in the database.
-
delete
public DB_Statement delete(java.lang.Long p_op_uid, java.sql.Timestamp p_lock, java.lang.Long p_address_id)
Generate the arguments for the corresponding stored procedure in the database.
-
handle
public DB_Statement handle(java.lang.Long p_address_id, java.lang.Boolean user_readable)
Generate the arguments for the corresponding stored procedure in the database.
-
handle
public DB_Statement handle(java.lang.Long p_address_id)
Generate the arguments for the corresponding stored procedure in the database.
-
info
public DB_Statement info(java.lang.Long p_address_id, java.lang.Long p_node_id, java.lang.Long p_interface_id, java.lang.Long p_address_space_id)
Generate the arguments for the corresponding stored procedure in the database.
-
locked_or_die
public DB_Statement locked_or_die(java.lang.Long p_op_uid, java.sql.Timestamp p_lock, java.lang.Long p_address_id)
Generate the arguments for the corresponding stored procedure in the database.
-
reserve
public DB_Statement reserve(java.lang.Long p_op_uid, java.lang.String p_start, java.lang.Long p_count, java.lang.Long p_exact, java.lang.Long p_contiguous)
Generate the arguments for the corresponding stored procedure in the database.
-
reserve
public DB_Statement reserve(java.lang.Long p_op_uid, java.lang.String p_start, java.lang.Long p_exact, java.lang.Long p_contiguous)
Generate the arguments for the corresponding stored procedure in the database.
-
reserve
public DB_Statement reserve(java.lang.Long p_op_uid, java.lang.String p_start, java.lang.Long p_contiguous)
Generate the arguments for the corresponding stored procedure in the database.
-
reserve
public DB_Statement reserve(java.lang.Long p_op_uid, java.lang.String p_start)
Generate the arguments for the corresponding stored procedure in the database.
-
update
public DB_Statement update(java.lang.Long p_op_uid, java.sql.Timestamp p_lock, java.lang.Long p_address_id, java.lang.Long p_active, java.lang.Long p_PTRpref)
Generate the arguments for the corresponding stored procedure in the database.
-
verify_or_die
public DB_Statement verify_or_die(java.lang.Long p_address_id, java.lang.String p_address)
Generate the arguments for the corresponding stored procedure in the database.
-
verify_or_die
public DB_Statement verify_or_die(java.lang.String p_address)
Generate the arguments for the corresponding stored procedure in the database.
-
verify_or_die
public DB_Statement verify_or_die(java.lang.Long p_address_id)
Generate the arguments for the corresponding stored procedure in the database.
-
-