Class FieldPath

java.lang.Object
io.datahubproject.models.util.FieldPath

public class FieldPath extends Object
  • Constructor Details

    • FieldPath

      public FieldPath(@NonNull @NonNull String rawFieldPath)
  • Method Details

    • isTopLevel

      public boolean isTopLevel()
    • depth

      public int depth()
      Returns the logical depth of the field path, ignoring type and version metadata Example: "[version=2.0][type=Foo].address.[type=union].[type=string].street" -> depth = 2
      Returns:
      The logical depth of the field path
    • leafFieldName

      public String leafFieldName()
    • version

      public String version()
    • simplePath

      public String simplePath()