public PropertyBuilder index() { Index index = new Index(); index.addProperty(property); property.entity.addIndex(index); return this; }
public PropertyBuilder index() { Index index = new Index(); index.addProperty(property); property.entity.addIndex(index); return this; }
public PropertyBuilder indexAsc(String indexNameOrNull, boolean isUnique) { Index index = new Index(); index.addPropertyAsc(property); if (isUnique) { index.makeUnique(); } index.setName(indexNameOrNull); property.entity.addIndex(index); return this; }
public PropertyBuilder indexAsc(String indexNameOrNull, boolean isUnique) { Index index = new Index(); index.addPropertyAsc(property); if (isUnique) { index.makeUnique(); } index.setName(indexNameOrNull); property.entity.addIndex(index); return this; }
public PropertyBuilder indexDesc(String indexNameOrNull, boolean isUnique) { Index index = new Index(); index.addPropertyDesc(property); if (isUnique) { index.makeUnique(); } index.setName(indexNameOrNull); property.entity.addIndex(index); return this; }
public PropertyBuilder indexDesc(String indexNameOrNull, boolean isUnique) { Index index = new Index(); index.addPropertyDesc(property); if (isUnique) { index.makeUnique(); } index.setName(indexNameOrNull); property.entity.addIndex(index); return this; }