Class PlatformIndex

java.lang.Object
com.github._1c_syntax.bsl.mdo.storage.PlatformIndex
All Implemented Interfaces:
Index

public final class PlatformIndex extends Object implements Index
Индекс таблицы базы данных, создаваемый платформой автоматически
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    clusteredIndex(com.github._1c_syntax.bsl.types.MdoReference table, List<com.github._1c_syntax.bsl.types.MdoReference> separators, com.github._1c_syntax.bsl.types.MdoReference... fields)
    Создает кластерный индекс таблицы
    clusteredIndex(com.github._1c_syntax.bsl.types.MdoReference table, List<com.github._1c_syntax.bsl.types.MdoReference> separators, List<com.github._1c_syntax.bsl.types.MdoReference> fields)
    Создает кластерный индекс таблицы
    createIndex(com.github._1c_syntax.bsl.types.MdoReference table, boolean clustered, List<com.github._1c_syntax.bsl.types.MdoReference> separators, com.github._1c_syntax.bsl.types.MdoReference... fields)
    Создает индекс таблицы с явным признаком кластерности
    createIndex(com.github._1c_syntax.bsl.types.MdoReference table, boolean clustered, List<com.github._1c_syntax.bsl.types.MdoReference> separators, List<com.github._1c_syntax.bsl.types.MdoReference> fields)
    Создает индекс таблицы с явным признаком кластерности
    boolean
     
    List<com.github._1c_syntax.bsl.types.MdoReference>
    Состав полей индекса в порядке их следования
    com.github._1c_syntax.bsl.types.MdoReference
    Ссылка на таблицу, для которой создан индекс
    int
     
    index(com.github._1c_syntax.bsl.types.MdoReference table, List<com.github._1c_syntax.bsl.types.MdoReference> separators, com.github._1c_syntax.bsl.types.MdoReference... fields)
    Создает некластерный индекс таблицы
    index(com.github._1c_syntax.bsl.types.MdoReference table, List<com.github._1c_syntax.bsl.types.MdoReference> separators, List<com.github._1c_syntax.bsl.types.MdoReference> fields)
    Создает некластерный индекс таблицы
    boolean
    Признак кластерности индекса
     
     

    Methods inherited from class java.lang.Object

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

    • index

      public static PlatformIndex index(com.github._1c_syntax.bsl.types.MdoReference table, List<com.github._1c_syntax.bsl.types.MdoReference> separators, com.github._1c_syntax.bsl.types.MdoReference... fields)
      Создает некластерный индекс таблицы
      Parameters:
      table - Ссылка на таблицу
      separators - Префикс полей разделителей
      fields - Состав полей индекса
      Returns:
      Индекс таблицы
    • index

      public static PlatformIndex index(com.github._1c_syntax.bsl.types.MdoReference table, List<com.github._1c_syntax.bsl.types.MdoReference> separators, List<com.github._1c_syntax.bsl.types.MdoReference> fields)
      Создает некластерный индекс таблицы
      Parameters:
      table - Ссылка на таблицу
      separators - Префикс полей разделителей
      fields - Состав полей индекса
      Returns:
      Индекс таблицы
    • clusteredIndex

      public static PlatformIndex clusteredIndex(com.github._1c_syntax.bsl.types.MdoReference table, List<com.github._1c_syntax.bsl.types.MdoReference> separators, com.github._1c_syntax.bsl.types.MdoReference... fields)
      Создает кластерный индекс таблицы
      Parameters:
      table - Ссылка на таблицу
      separators - Префикс полей разделителей
      fields - Состав полей индекса
      Returns:
      Индекс таблицы
    • clusteredIndex

      public static PlatformIndex clusteredIndex(com.github._1c_syntax.bsl.types.MdoReference table, List<com.github._1c_syntax.bsl.types.MdoReference> separators, List<com.github._1c_syntax.bsl.types.MdoReference> fields)
      Создает кластерный индекс таблицы
      Parameters:
      table - Ссылка на таблицу
      separators - Префикс полей разделителей
      fields - Состав полей индекса
      Returns:
      Индекс таблицы
    • createIndex

      public static PlatformIndex createIndex(com.github._1c_syntax.bsl.types.MdoReference table, boolean clustered, List<com.github._1c_syntax.bsl.types.MdoReference> separators, com.github._1c_syntax.bsl.types.MdoReference... fields)
      Создает индекс таблицы с явным признаком кластерности
      Parameters:
      table - Ссылка на таблицу
      clustered - Признак кластерности индекса
      separators - Префикс полей разделителей
      fields - Состав полей индекса
      Returns:
      Индекс таблицы
    • createIndex

      public static PlatformIndex createIndex(com.github._1c_syntax.bsl.types.MdoReference table, boolean clustered, List<com.github._1c_syntax.bsl.types.MdoReference> separators, List<com.github._1c_syntax.bsl.types.MdoReference> fields)
      Создает индекс таблицы с явным признаком кластерности
      Parameters:
      table - Ссылка на таблицу
      clustered - Признак кластерности индекса
      separators - Префикс полей разделителей
      fields - Состав полей индекса
      Returns:
      Индекс таблицы
    • builder

      public static PlatformIndex.PlatformIndexBuilder builder()
    • toBuilder

    • getTable

      public com.github._1c_syntax.bsl.types.MdoReference getTable()
      Ссылка на таблицу, для которой создан индекс
      Specified by:
      getTable in interface Index
      Returns:
      ссылка на объект метаданных или его табличную часть
    • isClustered

      public boolean isClustered()
      Признак кластерности индекса
      Specified by:
      isClustered in interface Index
      Returns:
      истина, если индекс кластерный
    • getFields

      public List<com.github._1c_syntax.bsl.types.MdoReference> getFields()
      Состав полей индекса в порядке их следования
      Specified by:
      getFields in interface Index
      Returns:
      упорядоченный список ссылок на поля индекса
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object