Package org.eclipse.jetty.server.session
Class JDBCSessionDataStore.SessionTableSchema
- java.lang.Object
-
- org.eclipse.jetty.server.session.JDBCSessionDataStore.SessionTableSchema
-
- Enclosing class:
- JDBCSessionDataStore
@Deprecated(since="2021-05-27") public static class JDBCSessionDataStore.SessionTableSchema extends java.lang.Object
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.SessionTableSchema
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
INFERRED
Deprecated.static int
MAX_INTERVAL_NOT_SET
Deprecated.
-
Constructor Summary
Constructors Constructor Description SessionTableSchema()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getAccessTimeColumn()
Deprecated.java.sql.PreparedStatement
getAllAncientExpiredSessionsStatement(java.sql.Connection connection)
Deprecated.java.lang.String
getAlterTableForMaxIntervalAsString()
Deprecated.java.lang.String
getCatalogName()
Deprecated.java.sql.PreparedStatement
getCheckSessionExistsStatement(java.sql.Connection connection, SessionContext context)
Deprecated.java.lang.String
getContextPathColumn()
Deprecated.java.lang.String
getCookieTimeColumn()
Deprecated.java.lang.String
getCreateIndexOverExpiryStatementAsString(java.lang.String indexName)
Deprecated.java.lang.String
getCreateIndexOverSessionStatementAsString(java.lang.String indexName)
Deprecated.java.lang.String
getCreateStatementAsString()
Deprecated.java.lang.String
getCreateTimeColumn()
Deprecated.java.sql.PreparedStatement
getDeleteStatement(java.sql.Connection connection, java.lang.String id, SessionContext contextId)
Deprecated.java.sql.PreparedStatement
getExpiredSessionsStatement(java.sql.Connection connection, java.lang.String canonicalContextPath, java.lang.String vhost, long expiry)
Deprecated.java.lang.String
getExpiryTimeColumn()
Deprecated.java.lang.String
getIdColumn()
Deprecated.java.lang.String
getInsertSessionStatementAsString()
Deprecated.java.lang.String
getLastAccessTimeColumn()
Deprecated.java.lang.String
getLastNodeColumn()
Deprecated.java.lang.String
getLastSavedTimeColumn()
Deprecated.java.sql.PreparedStatement
getLoadStatement(java.sql.Connection connection, java.lang.String id, SessionContext contextId)
Deprecated.java.lang.String
getMapColumn()
Deprecated.java.lang.String
getMaxIntervalColumn()
Deprecated.java.sql.PreparedStatement
getMyExpiredSessionsStatement(java.sql.Connection connection, SessionContext sessionContext, long expiry)
Deprecated.java.lang.String
getSchemaName()
Deprecated.java.lang.String
getTableName()
Deprecated.java.sql.PreparedStatement
getUpdateSessionStatement(java.sql.Connection connection, java.lang.String id, SessionContext context)
Deprecated.java.sql.PreparedStatement
getUpdateStatement(java.sql.Connection connection, java.lang.String id, SessionContext contextId)
Deprecated.java.lang.String
getVirtualHostColumn()
Deprecated.void
prepareTables()
Deprecated.Set up the tables in the databasevoid
setAccessTimeColumn(java.lang.String accessTimeColumn)
Deprecated.void
setCatalogName(java.lang.String catalogName)
Deprecated.void
setContextPathColumn(java.lang.String contextPathColumn)
Deprecated.void
setCookieTimeColumn(java.lang.String cookieTimeColumn)
Deprecated.void
setCreateTimeColumn(java.lang.String createTimeColumn)
Deprecated.void
setExpiryTimeColumn(java.lang.String expiryTimeColumn)
Deprecated.void
setIdColumn(java.lang.String idColumn)
Deprecated.void
setLastAccessTimeColumn(java.lang.String lastAccessTimeColumn)
Deprecated.void
setLastNodeColumn(java.lang.String lastNodeColumn)
Deprecated.void
setLastSavedTimeColumn(java.lang.String lastSavedTimeColumn)
Deprecated.void
setMapColumn(java.lang.String mapColumn)
Deprecated.void
setMaxIntervalColumn(java.lang.String maxIntervalColumn)
Deprecated.void
setSchemaName(java.lang.String schemaName)
Deprecated.void
setTableName(java.lang.String tableName)
Deprecated.void
setVirtualHostColumn(java.lang.String virtualHostColumn)
Deprecated.java.lang.String
toString()
Deprecated.
-
-
-
Field Detail
-
MAX_INTERVAL_NOT_SET
public static final int MAX_INTERVAL_NOT_SET
Deprecated.- See Also:
- Constant Field Values
-
INFERRED
public static final java.lang.String INFERRED
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
setCatalogName
public void setCatalogName(java.lang.String catalogName)
Deprecated.
-
getCatalogName
public java.lang.String getCatalogName()
Deprecated.
-
getSchemaName
public java.lang.String getSchemaName()
Deprecated.
-
setSchemaName
public void setSchemaName(java.lang.String schemaName)
Deprecated.
-
getTableName
public java.lang.String getTableName()
Deprecated.
-
setTableName
public void setTableName(java.lang.String tableName)
Deprecated.
-
getIdColumn
public java.lang.String getIdColumn()
Deprecated.
-
setIdColumn
public void setIdColumn(java.lang.String idColumn)
Deprecated.
-
getContextPathColumn
public java.lang.String getContextPathColumn()
Deprecated.
-
setContextPathColumn
public void setContextPathColumn(java.lang.String contextPathColumn)
Deprecated.
-
getVirtualHostColumn
public java.lang.String getVirtualHostColumn()
Deprecated.
-
setVirtualHostColumn
public void setVirtualHostColumn(java.lang.String virtualHostColumn)
Deprecated.
-
getLastNodeColumn
public java.lang.String getLastNodeColumn()
Deprecated.
-
setLastNodeColumn
public void setLastNodeColumn(java.lang.String lastNodeColumn)
Deprecated.
-
getAccessTimeColumn
public java.lang.String getAccessTimeColumn()
Deprecated.
-
setAccessTimeColumn
public void setAccessTimeColumn(java.lang.String accessTimeColumn)
Deprecated.
-
getLastAccessTimeColumn
public java.lang.String getLastAccessTimeColumn()
Deprecated.
-
setLastAccessTimeColumn
public void setLastAccessTimeColumn(java.lang.String lastAccessTimeColumn)
Deprecated.
-
getCreateTimeColumn
public java.lang.String getCreateTimeColumn()
Deprecated.
-
setCreateTimeColumn
public void setCreateTimeColumn(java.lang.String createTimeColumn)
Deprecated.
-
getCookieTimeColumn
public java.lang.String getCookieTimeColumn()
Deprecated.
-
setCookieTimeColumn
public void setCookieTimeColumn(java.lang.String cookieTimeColumn)
Deprecated.
-
getLastSavedTimeColumn
public java.lang.String getLastSavedTimeColumn()
Deprecated.
-
setLastSavedTimeColumn
public void setLastSavedTimeColumn(java.lang.String lastSavedTimeColumn)
Deprecated.
-
getExpiryTimeColumn
public java.lang.String getExpiryTimeColumn()
Deprecated.
-
setExpiryTimeColumn
public void setExpiryTimeColumn(java.lang.String expiryTimeColumn)
Deprecated.
-
getMaxIntervalColumn
public java.lang.String getMaxIntervalColumn()
Deprecated.
-
setMaxIntervalColumn
public void setMaxIntervalColumn(java.lang.String maxIntervalColumn)
Deprecated.
-
getMapColumn
public java.lang.String getMapColumn()
Deprecated.
-
setMapColumn
public void setMapColumn(java.lang.String mapColumn)
Deprecated.
-
getCreateStatementAsString
public java.lang.String getCreateStatementAsString()
Deprecated.
-
getCreateIndexOverExpiryStatementAsString
public java.lang.String getCreateIndexOverExpiryStatementAsString(java.lang.String indexName)
Deprecated.
-
getCreateIndexOverSessionStatementAsString
public java.lang.String getCreateIndexOverSessionStatementAsString(java.lang.String indexName)
Deprecated.
-
getAlterTableForMaxIntervalAsString
public java.lang.String getAlterTableForMaxIntervalAsString()
Deprecated.
-
getInsertSessionStatementAsString
public java.lang.String getInsertSessionStatementAsString()
Deprecated.
-
getUpdateSessionStatement
public java.sql.PreparedStatement getUpdateSessionStatement(java.sql.Connection connection, java.lang.String id, SessionContext context) throws java.sql.SQLException
Deprecated.- Throws:
java.sql.SQLException
-
getExpiredSessionsStatement
public java.sql.PreparedStatement getExpiredSessionsStatement(java.sql.Connection connection, java.lang.String canonicalContextPath, java.lang.String vhost, long expiry) throws java.sql.SQLException
Deprecated.- Throws:
java.sql.SQLException
-
getMyExpiredSessionsStatement
public java.sql.PreparedStatement getMyExpiredSessionsStatement(java.sql.Connection connection, SessionContext sessionContext, long expiry) throws java.sql.SQLException
Deprecated.- Throws:
java.sql.SQLException
-
getAllAncientExpiredSessionsStatement
public java.sql.PreparedStatement getAllAncientExpiredSessionsStatement(java.sql.Connection connection) throws java.sql.SQLException
Deprecated.- Throws:
java.sql.SQLException
-
getCheckSessionExistsStatement
public java.sql.PreparedStatement getCheckSessionExistsStatement(java.sql.Connection connection, SessionContext context) throws java.sql.SQLException
Deprecated.- Throws:
java.sql.SQLException
-
getLoadStatement
public java.sql.PreparedStatement getLoadStatement(java.sql.Connection connection, java.lang.String id, SessionContext contextId) throws java.sql.SQLException
Deprecated.- Throws:
java.sql.SQLException
-
getUpdateStatement
public java.sql.PreparedStatement getUpdateStatement(java.sql.Connection connection, java.lang.String id, SessionContext contextId) throws java.sql.SQLException
Deprecated.- Throws:
java.sql.SQLException
-
getDeleteStatement
public java.sql.PreparedStatement getDeleteStatement(java.sql.Connection connection, java.lang.String id, SessionContext contextId) throws java.lang.Exception
Deprecated.- Throws:
java.lang.Exception
-
prepareTables
public void prepareTables() throws java.sql.SQLException
Deprecated.Set up the tables in the database- Throws:
java.sql.SQLException
- if unable to prepare tables
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-