@Retention(value=RUNTIME) @Target(value={METHOD,TYPE}) public @interface CreatePartition
@CreatePartition( name = "example", suffix = "dc=example, dc=com", @ContextEntry( { "dn: dc=example, dc=com", "objectclass: top", "objectclass: domain", "dc: example", }), @Indexes( { @CreateIndex( attribute = "cn" ), @CreateIndex( attribute = "sn' ) }) )
Modifier and Type | Required Element and Description |
---|---|
String |
name |
String |
suffix |
Modifier and Type | Optional Element and Description |
---|---|
int |
cacheSize |
ContextEntry |
contextEntry |
CreateIndex[] |
indexes |
Class<? extends Partition> |
type |
public abstract ContextEntry contextEntry
public abstract CreateIndex[] indexes
public abstract int cacheSize
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.