public class IndexDefinition extends SchemaObjectDefinition
IndexDefinition
は、新しい Apache Geode/Pivotal GemFire Region
Index
を定義するために使用される構成メタデータをカプセル化する抽象データ型 (ADT) です。Region
, Index
, IndexType
, GemfireAdminOperations
, SchemaObjectDefinition
, SchemaObjectType
, 連載形式 修飾子と型 | クラスと説明 |
---|---|
protected static class | IndexDefinition.IndexWrapper |
修飾子と型 | フィールドと説明 |
---|---|
protected static int | ORDER |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
修飾子 | コンストラクターと説明 |
---|---|
protected | IndexDefinition(org.apache.geode.cache.query.Index index) 指定された Index で定義された IndexDefinition の新しいインスタンスを構築します。 |
修飾子と型 | メソッドと説明 |
---|---|
IndexDefinition | as(org.apache.geode.cache.query.IndexType gemfireGeodeIndexType) |
IndexDefinition | as(IndexType indexType) |
void | create(GemfireAdminOperations gemfireAdminOperations) この SchemaObjectDefinition から実際のスキーマオブジェクトを作成します。 |
static IndexDefinition | from(org.apache.geode.cache.query.Index index) 指定された Index から定義された IndexDefinition の新しいインスタンスを構築するために使用されるファクトリメソッド。 |
StringSE | getExpression() |
StringSE | getFromClause() |
protected org.apache.geode.cache.query.Index | getIndex() この定義が定義されている Index への参照を返します。 |
IndexType | getIndexType() |
StringSE | getName() スキーマオブジェクトに割り当てられた name SE を返します。 |
int | getOrder() このオブジェクトの順序値を取得します。 |
SchemaObjectType | getType() この SchemaObjectDefinition によって定義されたスキーマオブジェクトの type を返します。 |
IndexDefinition | having(StringSE expression) |
IndexDefinition | on(org.apache.geode.cache.Region<?,?> region) |
IndexDefinition | on(StringSE fromClause) |
IndexDefinition | with(StringSE name) |
equals, hashCode, toString
cloneSE, finalizeSE, getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
protected static final int ORDER
protected IndexDefinition(org.apache.geode.cache.query.Index index)
Index
で定義された IndexDefinition
の新しいインスタンスを構築します。index
- この定義が定義されている Index
。null であってはなりません。IllegalArgumentExceptionSE
- Index
が null の場合。Index
public static IndexDefinition from(org.apache.geode.cache.query.Index index)
Index
から定義された IndexDefinition
の新しいインスタンスを構築するために使用されるファクトリメソッド。index
- 新しい IndexDefinition
が定義される Index
。null にすることはできません。Index
から定義された IndexDefinition
の新しいインスタンス。IllegalArgumentExceptionSE
- Index
が null の場合。Index
protected org.apache.geode.cache.query.Index getIndex()
Index
への参照を返します。Index
への参照。Index
public StringSE getName()
SchemaObjectDefinition
name
SE を返します。SchemaObjectDefinition
の getName
name
SE。名前は null にはなりません。public StringSE getExpression()
public StringSE getFromClause()
public IndexType getIndexType()
public int getOrder()
Ordered
public SchemaObjectType getType()
SchemaObjectDefinition
SchemaObjectDefinition
によって定義されたスキーマオブジェクトの type
を返します。SchemaObjectDefinition
の getType
SchemaObjectDefinition
によって定義されたスキーマオブジェクトの type
。SchemaObjectType
public void create(GemfireAdminOperations gemfireAdminOperations)
SchemaObjectDefinition
SchemaObjectDefinition
から実際のスキーマオブジェクトを作成します。SchemaObjectDefinition
の create
gemfireAdminOperations
- GemfireAdminOperations
は、この SchemaObjectDefinition
から実際のスキーマオブジェクトを作成するために使用されます。GemfireAdminOperations
public IndexDefinition as(org.apache.geode.cache.query.IndexType gemfireGeodeIndexType)
public IndexDefinition as(IndexType indexType)
public IndexDefinition having(StringSE expression)
public IndexDefinition on(org.apache.geode.cache.Region<?,?> region)
public IndexDefinition on(StringSE fromClause)
public IndexDefinition with(StringSE name)
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.