Documentation of 'cc.redberry.core.context.ContextSettings' Java class
ContextSettings
cc.redberry.core.context

Class ContextSettings



  • public class ContextSettings
    extends java.lang.Object
    A container for context-specific Redberry information (like string name of metrics), which is then used in the construction process of Context object.
    Since:
    1.0
    See Also:
    Context
    • Constructor Detail

      • ContextSettings

        public ContextSettings(OutputFormat defaultOutputFormat,
                               java.lang.String kronecker)
        Creates context settings with specified default output format and Kronecker delta name.
        Parameters:
        defaultOutputFormat - output format
        kronecker - string name of Kronecker tensor
    • Method Detail

      • removeMetricIndexType

        public void removeMetricIndexType(IndexType type)
        Set specified index type to be a non metric.
        Parameters:
        type - index type
      • addMetricIndexType

        public void addMetricIndexType(IndexType type)
        Set specified index type to be a metric type.
        Parameters:
        type - index type
      • getDefaultOutputFormat

        public OutputFormat getDefaultOutputFormat()
        Returns the default output format
        Returns:
        the default output format
      • setDefaultOutputFormat

        public void setDefaultOutputFormat(OutputFormat defaultOutputFormat)
        Sets the default output format.
        Parameters:
        defaultOutputFormat - output format
      • getKronecker

        public java.lang.String getKronecker()
        Returns string representation of Kronecker tensor name.
        Returns:
        string representation of Kronecker tensor name
      • setKronecker

        public void setKronecker(java.lang.String kronecker)
        Sets string representation of Kronecker tensor name.
        Parameters:
        kronecker - string name of Kronecker tensor
      • getMetricName

        public java.lang.String getMetricName()
        Returns string representation of metric tensor name.
        Returns:
        string representation of metric tensor name
      • setMetricName

        public void setMetricName(java.lang.String metricName)
        Sets string representation of metric tensor name.
      • getNameManagerSeed

        public java.lang.Long getNameManagerSeed()
        Returns seed of name manager
        Returns:
        seed of name manager
      • setNameManagerSeed

        public void setNameManagerSeed(java.lang.Long nameManagerSeed)
        Sets seed of name manager
      • getConverterManager

        public IndexConverterManager getConverterManager()
        Returns index converter manager
        Returns:
        index converter manager
      • setConverterManager

        public void setConverterManager(IndexConverterManager converterManager)
        Sets index converter manager
      • setParser

        public void setParser(Parser parser)
        Sets parser
      • getParser

        public Parser getParser()
        Returns parser
        Returns:
        parser

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.