public final class

TableInfo.Index

extends java.lang.Object

 java.lang.Object

↳androidx.room.util.TableInfo.Index

Overview

Holds the information about an SQLite index

Summary

Fields
public final java.util.List<java.lang.String>columns

public static final java.lang.StringDEFAULT_PREFIX

public final java.lang.Stringname

public final java.util.List<java.lang.String>orders

public final booleanunique

Constructors
publicIndex(java.lang.String name, boolean unique, java.util.List<java.lang.String> columns)

publicIndex(java.lang.String name, boolean unique, java.util.List<java.lang.String> columns, java.util.List<java.lang.String> orders)

Methods
public booleanequals(java.lang.Object o)

public inthashCode()

public java.lang.StringtoString()

from java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait

Fields

public static final java.lang.String DEFAULT_PREFIX

public final java.lang.String name

public final boolean unique

public final java.util.List<java.lang.String> columns

public final java.util.List<java.lang.String> orders

Constructors

public Index(java.lang.String name, boolean unique, java.util.List<java.lang.String> columns)

Deprecated: Use TableInfo.Index.Index(String, boolean, List, List)

public Index(java.lang.String name, boolean unique, java.util.List<java.lang.String> columns, java.util.List<java.lang.String> orders)

Methods

public boolean equals(java.lang.Object o)

public int hashCode()

public java.lang.String toString()