Class PiTableId

  • All Implemented Interfaces:
    TableId

    @Beta
    public final class PiTableId
    extends org.onlab.util.Identifier<java.lang.String>
    implements TableId
    Identifier of a table in a protocol-independent pipeline, unique within the scope of a pipeline model.
    • Nested Class Summary

    • Field Summary

      • Fields inherited from class org.onlab.util.Identifier

        identifier
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compareTo​(TableId other)
      Compares table ID.
      static PiTableId of​(java.lang.String name)
      Returns an identifier for the given table name.
      TableId.Type type()
      Gets type of this table ID.
      • Methods inherited from class org.onlab.util.Identifier

        equals, hashCode, id, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • of

        public static PiTableId of​(java.lang.String name)
        Returns an identifier for the given table name.
        Parameters:
        name - table name
        Returns:
        table ID
      • type

        public TableId.Type type()
        Description copied from interface: TableId
        Gets type of this table ID.
        Specified by:
        type in interface TableId
        Returns:
        type
      • compareTo

        public int compareTo​(TableId other)
        Description copied from interface: TableId
        Compares table ID.
        Specified by:
        compareTo in interface TableId
        Parameters:
        other - table ID to be compared
        Returns:
        zero if the table IDs are the same. Otherwise, return a non-zero integer