Package io.trino.plugin.session.db
Interface SessionPropertiesDao
public interface SessionPropertiesDao
Dao should guarantee that the list of SessionMatchSpecs is returned in increasing order of priority. i.e. if two
rows in the ResultSet specify different values for the same property, the row coming in later will override the
value set by the row coming in earlier.
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidinsertClientTag(long specId, String clientTag) voidinsertSessionProperty(long propertySpecId, String sessionPropertyName, String sessionPropertyValue) voidinsertSpecRow(long specId, String userRegex, String sourceRegex, String queryType, String groupRegex, int priority)
-
Method Details
-
createSessionSpecsTable
void createSessionSpecsTable() -
createSessionClientTagsTable
void createSessionClientTagsTable() -
createSessionPropertiesTable
void createSessionPropertiesTable() -
dropSessionSpecsTable
void dropSessionSpecsTable() -
dropSessionClientTagsTable
void dropSessionClientTagsTable() -
dropSessionPropertiesTable
void dropSessionPropertiesTable() -
getSessionMatchSpecs
List<SessionMatchSpec> getSessionMatchSpecs() -
insertSpecRow
-
insertClientTag
-
insertSessionProperty
-