Module io.github.mmm.entity.bean
Class CreateIndexOn<E extends EntityBean>
- java.lang.Object
-
- io.github.mmm.marshall.AbstractMarshallingObject
-
- io.github.mmm.entity.bean.sql.AbstractClause
-
- io.github.mmm.entity.bean.sql.AbstractTypedClause<E,SELF>
-
- io.github.mmm.entity.bean.sql.AbstractEntityClause<E,CreateTable<E>>
-
- io.github.mmm.entity.bean.sql.create.CreateIndexOn<E>
-
- Type Parameters:
E- type of theentity.
- All Implemented Interfaces:
Clause,TypedClause<E>,io.github.mmm.marshall.MarshallableObject,io.github.mmm.marshall.Marshaller<Object>,io.github.mmm.marshall.Marshalling<Object>,io.github.mmm.marshall.MarshallingObject,io.github.mmm.marshall.UnmarshallableObject,io.github.mmm.marshall.Unmarshaller<Object>
public class CreateIndexOn<E extends EntityBean> extends AbstractEntityClause<E,CreateTable<E>>
- Since:
- 1.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static StringNAME_ONName ofCreateIndexOnfor marshaling.-
Fields inherited from class io.github.mmm.entity.bean.sql.AbstractEntityClause
entity, NAME_ALIAS, NAME_ENTITY
-
-
Constructor Summary
Constructors Constructor Description CreateIndexOn(CreateIndex createIndex, E entity)The constructor.CreateIndexOn(CreateIndex createIndex, E entity, String entityName)The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateIndexColumns<E>column(io.github.mmm.value.PropertyPath<?> property)CreateIndexColumns<E>column(io.github.mmm.value.PropertyPath<?>... properties)protected StringgetMarshallingName()-
Methods inherited from class io.github.mmm.entity.bean.sql.AbstractEntityClause
as, getAlias, getEntity, getEntityName, readProperty, setEntityName, writeProperties
-
Methods inherited from class io.github.mmm.entity.bean.sql.AbstractTypedClause
self
-
Methods inherited from class io.github.mmm.entity.bean.sql.AbstractClause
toString
-
-
-
-
Field Detail
-
NAME_ON
public static final String NAME_ON
Name ofCreateIndexOnfor marshaling.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CreateIndexOn
public CreateIndexOn(CreateIndex createIndex, E entity)
The constructor.- Parameters:
createIndex- theCreateIndex-Clause.entity- theentityto operate on.
-
CreateIndexOn
public CreateIndexOn(CreateIndex createIndex, E entity, String entityName)
The constructor.- Parameters:
createIndex- theCreateIndex-Clause.entity- theentityto operate on.entityName- theentity name.
-
-
Method Detail
-
column
public CreateIndexColumns<E> column(io.github.mmm.value.PropertyPath<?> property)
- Parameters:
property- thePropertyPathof the column to create an index on.- Returns:
- the
CreateIndexColumnsfor fluent API calls.
-
column
public CreateIndexColumns<E> column(io.github.mmm.value.PropertyPath<?>... properties)
- Parameters:
properties- thePropertyPaths of the columns to create an index on.- Returns:
- the
CreateIndexColumnsfor fluent API calls.
-
getMarshallingName
protected String getMarshallingName()
- Specified by:
getMarshallingNamein classAbstractClause- Returns:
- the name of the property for this clause.
-
-