Interface YPath

  • All Known Implementing Classes:
    RichYPath

    public interface YPath
    • Method Detail

      • justPath

        YPath justPath()
        Returns:
        path without RichPath additional attributes
      • name

        java.lang.String name()
      • child

        YPath child​(java.lang.String key)
      • after

        YPath after​(int index)
      • before

        YPath before​(int index)
      • child

        YPath child​(int index)
      • attribute

        YPath attribute​(java.lang.String key)
      • allAttributes

        YPath allAttributes()
      • isRoot

        boolean isRoot()
      • isAttribute

        boolean isAttribute()
      • hasObjectRootDesignator

        boolean hasObjectRootDesignator()
      • withObjectRoot

        YPath withObjectRoot​(GUID id)
      • getSchema

        java.util.Optional<tech.ytsaurus.ysontree.YTreeNode> getSchema()
      • withSchema

        YPath withSchema​(tech.ytsaurus.ysontree.YTreeNode schema)
      • getFormat

        java.util.Optional<java.lang.String> getFormat()
      • withFormat

        YPath withFormat​(java.lang.String format)
        Пример использования: - YPath.simple("//some/table").withFormat("yson") Комментарий к примеру: удобно, например, для того, чтобы при запуске джобы указанная таблица-словарь автоматически была доставлена в локальную рабочую директорию джобы как yson-файл.
      • getBypassArtifactCache

        java.util.Optional<java.lang.Boolean> getBypassArtifactCache()
      • withBypassArtifactCache

        YPath withBypassArtifactCache​(boolean bypassArtifactCache)
      • getAppend

        java.util.Optional<java.lang.Boolean> getAppend()
      • append

        YPath append​(boolean append)
      • getPrimary

        java.util.Optional<java.lang.Boolean> getPrimary()
      • primary

        YPath primary​(boolean primary)
      • getForeign

        java.util.Optional<java.lang.Boolean> getForeign()
      • foreign

        YPath foreign​(boolean foreign)
      • withRange

        default YPath withRange​(long lowerRowIndex,
                                long upperRowIndex)
      • getColumns

        java.util.List<java.lang.String> getColumns()
      • withColumns

        YPath withColumns​(java.util.Collection<java.lang.String> columns)
      • withColumns

        default YPath withColumns​(java.lang.String... columns)
      • getRenameColumns

        java.util.Map<java.lang.String,​java.lang.String> getRenameColumns()
      • withRenameColumns

        YPath withRenameColumns​(java.util.Map<java.lang.String,​java.lang.String> renameColumns)
      • plusRenameColumns

        default YPath plusRenameColumns​(java.lang.String oldColumnName,
                                        java.lang.String newColumnName)
      • plusRenameColumns

        YPath plusRenameColumns​(java.util.Map<java.lang.String,​java.lang.String> renameColumns)
      • getSortedBy

        java.util.List<java.lang.String> getSortedBy()
      • sortedBy

        YPath sortedBy​(java.util.List<java.lang.String> sortedBy)
      • sortedBy

        default YPath sortedBy​(java.lang.String... sortedBy)
      • getTimestamp

        java.util.Optional<java.lang.Long> getTimestamp()
      • withTimestamp

        YPath withTimestamp​(long timestamp)
      • getYtTimestamp

        default java.util.Optional<YtTimestamp> getYtTimestamp()
      • getExecutable

        java.util.Optional<java.lang.Boolean> getExecutable()
      • withExecutable

        YPath withExecutable​(boolean executable)
      • getAdditionalAttribute

        java.util.Optional<tech.ytsaurus.ysontree.YTreeNode> getAdditionalAttribute​(java.lang.String attributeName)
      • getAdditionalAttributes

        java.util.Map<java.lang.String,​tech.ytsaurus.ysontree.YTreeNode> getAdditionalAttributes()
      • withAdditionalAttributes

        YPath withAdditionalAttributes​(java.util.Map<java.lang.String,​tech.ytsaurus.ysontree.YTreeNode> additionalAttributes)
      • plusAdditionalAttribute

        default YPath plusAdditionalAttribute​(java.lang.String key,
                                              java.lang.Object value)
      • plusAdditionalAttribute

        YPath plusAdditionalAttribute​(java.lang.String key,
                                      tech.ytsaurus.ysontree.YTreeNode value)
      • toTree

        tech.ytsaurus.ysontree.YTreeNode toTree()
      • toTree

        tech.ytsaurus.ysontree.YTreeBuilder toTree​(tech.ytsaurus.ysontree.YTreeBuilder builder)
      • toStableString

        java.lang.String toStableString()
      • cypressRoot

        static YPath cypressRoot()
      • objectRoot

        static YPath objectRoot​(GUID id)
      • simple

        static YPath simple​(java.lang.String path)
      • fromTree

        static YPath fromTree​(tech.ytsaurus.ysontree.YTreeNode node)