Package oracle.pgx.api
Class Namespace
java.lang.Object
oracle.pgx.api.Namespace
Represents a namespace for objects (e.g. graphs, properties) in PGX
-
Field Summary
Fields -
Method Summary
-
Field Details
-
PUBLIC
Namespace for published objects -
PRIVATE
Namespace for session-private objects
-
-
Method Details
-
fromId
Creates a namespace from the givenPgxId.Throws an exception if no namespace with the given id exists.
- Parameters:
namespaceId- an id that represents a namespace- Returns:
- a namespace associated with the id
-
getNamespaceId
public oracle.pgx.common.PgxId getNamespaceId()- Returns:
- the id associated with this namespace
-
equals
-
hashCode
public int hashCode() -
toString
-