Package oracle.pgx.api
Class EntityProviderMetaData
- java.lang.Object
-
- oracle.pgx.common.Self
-
- oracle.pgx.api.EntityProviderMetaData
-
- Direct Known Subclasses:
EdgeProviderMetaData,VertexProviderMetaData
public abstract class EntityProviderMetaData extends oracle.pgx.common.SelfMeta information about an entity provider in aPgxGraph.- Since:
- 3.2.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)IdTypegetIdType()Gets the ID type of this entity table.java.util.List<KeyColumnDescriptor>getKeyColumns()Get the key columns of this entity provider.java.util.Set<java.lang.String>getLabels()Returns the list of provider labels ("type labels").java.lang.StringgetName()Gets the name of this entity table.java.util.List<PropertyMetaData>getProperties()Returns a list containing the metadata for the properties associated to this provider.inthashCode()voidsetIdType(IdType idType)Sets the ID type of this entity table.voidsetKeyColumns(java.util.List<KeyColumnDescriptor> keyColumns)Set the key columns of this entity provider.voidsetProperties(java.util.List<PropertyMetaData> properties)java.lang.StringtoString()
-
-
-
Method Detail
-
getKeyColumns
@BetaApi public java.util.List<KeyColumnDescriptor> getKeyColumns()
Get the key columns of this entity provider. Note that key column names may not be available, depending on how this graph was loaded.- Returns:
- List of key columns.
- Since:
- 25.2.0
-
setKeyColumns
@BetaApi public void setKeyColumns(java.util.List<KeyColumnDescriptor> keyColumns)
Set the key columns of this entity provider.- Parameters:
keyColumns- List of key columns.- Since:
- 25.2.0
-
getIdType
public IdType getIdType()
Gets the ID type of this entity table.- Returns:
- the idType
- See Also:
API with support for multiple key columns
-
setIdType
public void setIdType(IdType idType)
Sets the ID type of this entity table.
-
getName
public java.lang.String getName()
Gets the name of this entity table.- Returns:
- the table name
-
getLabels
public java.util.Set<java.lang.String> getLabels()
Returns the list of provider labels ("type labels").- Returns:
- the list of provider labels
-
getProperties
public java.util.List<PropertyMetaData> getProperties()
Returns a list containing the metadata for the properties associated to this provider.- Returns:
- the list of property metadata
- Since:
- 21.1
-
setProperties
public void setProperties(java.util.List<PropertyMetaData> properties)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-