Enum NodeRole

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      Client
      The node can act as a client node.
      ClusterManager
      The node can act as a cluster manager.
      CoordinatingOnly
      The node only performs coordination tasks.
      Data
      The node can store data.
      DataCold
      The node can store cold data.
      DataContent
      The node can store content data.
      DataFrozen
      The node can store frozen data.
      DataHot
      The node can store hot data.
      DataWarm
      The node can store warm data.
      Ingest
      The node can perform ingest operations.
      Master
      Deprecated.
      Ml
      The node can perform machine learning operations.
      RemoteClusterClient
      The node can act as a remote cluster client.
      Transform
      The node can perform transform operations.
      VotingOnly
      The node can only vote in cluster decisions.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String jsonValue()  
      static NodeRole valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static NodeRole[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • Client

        public static final NodeRole Client
        The node can act as a client node.
      • ClusterManager

        public static final NodeRole ClusterManager
        The node can act as a cluster manager.
      • CoordinatingOnly

        public static final NodeRole CoordinatingOnly
        The node only performs coordination tasks.
      • Data

        public static final NodeRole Data
        The node can store data.
      • DataCold

        public static final NodeRole DataCold
        The node can store cold data.
      • DataContent

        public static final NodeRole DataContent
        The node can store content data.
      • DataFrozen

        public static final NodeRole DataFrozen
        The node can store frozen data.
      • DataHot

        public static final NodeRole DataHot
        The node can store hot data.
      • DataWarm

        public static final NodeRole DataWarm
        The node can store warm data.
      • Ingest

        public static final NodeRole Ingest
        The node can perform ingest operations.
      • Master

        @Deprecated
        public static final NodeRole Master
        Deprecated.
      • Ml

        public static final NodeRole Ml
        The node can perform machine learning operations.
      • RemoteClusterClient

        public static final NodeRole RemoteClusterClient
        The node can act as a remote cluster client.
      • Transform

        public static final NodeRole Transform
        The node can perform transform operations.
      • VotingOnly

        public static final NodeRole VotingOnly
        The node can only vote in cluster decisions.
    • Method Detail

      • values

        public static NodeRole[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (NodeRole c : NodeRole.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static NodeRole valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • jsonValue

        public java.lang.String jsonValue()
        Specified by:
        jsonValue in interface JsonEnum