Class EntityProviderConfig

    • Constructor Detail

      • EntityProviderConfig

        public EntityProviderConfig()
    • Method Detail

      • supportsVectorProperties

        public static boolean supportsVectorProperties​(ProviderFormat format)
        Check if a format support having vector properties or not
        Parameters:
        format - the format to check
        Returns:
        true if given format supports vector properties, false otherwise
      • supportsPropertyColumn

        public static boolean supportsPropertyColumn​(ProviderFormat format)
        Check if a format support having a column indication for properties
        Parameters:
        format - the format to check
        Returns:
        true if given format supports property columns, false otherwise
      • getLabel

        public abstract java.lang.String getLabel()
        Get the custom label configured for the entities from this provider. If no custom label is specified, the label for the entities from this provider defaults to the provider name.
        Returns:
        the custom label
      • getValidatedLabel

        public java.lang.String getValidatedLabel()
        Get the label configured for the entities from this provider. If no custom label is specified, the label for the entities from this provider defaults to the provider name.
        Returns:
        the label
      • getProps

        public abstract java.util.List<GraphPropertyConfig> getProps()
        Get the properties of this provider configuration
        Returns:
        the list of vertex properties
      • getName

        public abstract java.lang.String getName()
        Get the name of this provider configuration
        Specified by:
        getName in interface CommonLoadableConfig<ProviderFormat>
        Returns:
        the name of the provider
      • getKeyType

        public abstract IdType getKeyType()
        Get the key type of this provider configuration
        Returns:
        the key type
      • hasKeys

        public abstract java.lang.Boolean hasKeys()
        indicates if the provider data has keys
      • getLoading

        public abstract ProviderLoadingConfig getLoading()
        Get the loading configuration of this provider configuration
        Returns:
        the loading configuration
      • getSourceVertexKeyType

        public IdType getSourceVertexKeyType()
        Get the key type corresponding to the source vertex provider of this edge provider configuration
        Returns:
        the key type
      • getDestinationVertexKeyType

        public IdType getDestinationVertexKeyType()
        Get the key type corresponding to the destination vertex provider of this edge provider configuration
        Returns:
        the key type
      • getSourceVertexProvider

        public abstract java.lang.String getSourceVertexProvider()
        Get the name of the source vertex provider
        Returns:
        the name of the source vertex provider
      • getDestinationVertexProvider

        public abstract java.lang.String getDestinationVertexProvider()
        Get the name of the destination vertex provider
        Returns:
        the name of the destination vertex provider
      • numProperties

        public int numProperties()
        Get the number of properties in this provider configuration
        Returns:
        the number of properties
      • getPropertyName

        public java.lang.String getPropertyName​(int i)
        Get the name of a property by index
        Parameters:
        i - the 0-based index of the property
        Returns:
        the name of the property
      • getPropertyType

        public PropertyType getPropertyType​(int i)
        Get the type of a property by index
        Parameters:
        i - the 0-based index of the property
        Returns:
        the type of the property
      • getPropertyDimension

        public int getPropertyDimension​(int i)
        Get the dimension of a property by index
        Parameters:
        i - the 0-based index of the property
        Returns:
        the dimension of the property
      • getPropertyDefault

        public java.lang.Object getPropertyDefault​(int i)
        Get the default value of a property by index
        Parameters:
        i - the 0-based index of the property
        Returns:
        the default value of the property
      • isKeyMappingEnabled

        public boolean isKeyMappingEnabled()
        Check if key mapping is enabled
        Returns:
        whether the key mapping is enabled or not
      • isLabelLoadingEnabled

        public boolean isLabelLoadingEnabled()
        Checks if label loading is enabled
        Returns:
        whether loading labels is enabled or not
      • supportsVectorProperties

        public boolean supportsVectorProperties()
        Check if this graph configuration's format supports having vector properties or not
        Returns:
        true if this graph configuration's format supports vector proeprties, false otherwise
      • supportsPropertyColumn

        public boolean supportsPropertyColumn()
        Check if this provider configuration's format supports having a column indication for properties
        Returns:
        true if this provider configuration's format supports property columns, false otherwise
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object