public class H2Functions extends EmbeddedFunctions
Constructor and Description |
---|
H2Functions() |
Modifier and Type | Method and Description |
---|---|
static void |
clusterInvalidateString(Connection conn,
long nodeId,
String id,
String fragments,
int kind)
Adds an invalidation from this cluster node to the invalidations list.
|
static ResultSet |
getAncestorsIds(Connection conn,
String idsString) |
static ResultSet |
getClusterInvalidationsString(Connection conn,
long nodeId)
Gets the invalidations for this cluster node.
|
protected static String |
getSelectParentIdsByIdsSql(int size) |
static boolean |
isAccessAllowedLong(Connection conn,
Long id,
String principals,
String permissions) |
static boolean |
isAccessAllowedString(Connection conn,
String id,
String principals,
String permissions) |
static boolean |
isInTreeLong(Connection conn,
Long id,
Long baseId) |
static boolean |
isInTreeString(Connection conn,
String id,
String baseId) |
static ResultSet |
upgradeLastContributor(Connection conn) |
static ResultSet |
upgradeVersions(Connection conn) |
isAccessAllowed, isAccessAllowed, isInTree, isInTree, matchesFullText, parseFullText, parseFullText, parseWord, split, split
public H2Functions()
public static boolean isInTreeString(Connection conn, String id, String baseId) throws SQLException
SQLException
public static boolean isInTreeLong(Connection conn, Long id, Long baseId) throws SQLException
SQLException
public static boolean isAccessAllowedString(Connection conn, String id, String principals, String permissions) throws SQLException
SQLException
public static boolean isAccessAllowedLong(Connection conn, Long id, String principals, String permissions) throws SQLException
SQLException
public static void clusterInvalidateString(Connection conn, long nodeId, String id, String fragments, int kind) throws SQLException
SQLException
public static ResultSet getClusterInvalidationsString(Connection conn, long nodeId) throws SQLException
SQLException
public static ResultSet upgradeVersions(Connection conn) throws SQLException
SQLException
public static ResultSet upgradeLastContributor(Connection conn) throws SQLException
SQLException
public static ResultSet getAncestorsIds(Connection conn, String idsString) throws SQLException
SQLException
protected static String getSelectParentIdsByIdsSql(int size)
Copyright © 2016 Nuxeo SA. All rights reserved.