public class PgqlUtils
extends java.lang.Object
Constructor and Description |
---|
PgqlUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
escapeAndEnquoteLiteral(OraclePropertyGraph opg, java.lang.String str)
Does a SQL escape of single quotes and enquotes the literal
|
static java.lang.String |
unescapePgqlString(java.lang.String str)
Unescapes constant Strings in a PGQL query for matching against stored versions of the same constant.
|
public static java.lang.String escapeAndEnquoteLiteral(OraclePropertyGraph opg, java.lang.String str) throws PgqlToSqlException
opg
- a property graph referencestr
- the string to escapePgqlToSqlException
public static java.lang.String unescapePgqlString(java.lang.String str) throws PgqlToSqlException
str
- the String to unescapePgqlToSqlException
Copyright © 2017, 2018 Oracle and/or its affiliates. All Rights Reserved.