|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.data.trees.generators.StructuralTemplate.STBuilder
public static class StructuralTemplate.STBuilder
Builds StructuralTemplates.
| Constructor Summary | |
|---|---|
StructuralTemplate.STBuilder()
|
|
| Method Summary | |
|---|---|
StructuralTemplate |
build()
Builds the template. |
StructuralTemplate.STBuilder |
deep(int depth)
Sets the depth on the template. |
StructuralTemplate.STBuilder |
inSource(String id)
Sets a source identifier on the template. |
StructuralTemplate |
totalling(int size)
Sets an approximate size in kilobyte for the tree |
StructuralTemplate.STBuilder |
wide(int w)
Sets the width on the template. |
StructuralTemplate.STBuilder |
withAttributes(int max)
Sets the maximum number of attributes on the template. |
StructuralTemplate.STBuilder |
withIds()
Sets the generation of node identifiers on the template. |
StructuralTemplate.STBuilder |
withValuesOf(int max)
Sets the maximum size of leaf values on the template. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StructuralTemplate.STBuilder()
| Method Detail |
|---|
public StructuralTemplate.STBuilder inSource(String id)
id - the source identifier
public StructuralTemplate.STBuilder wide(int w)
w - the width
public StructuralTemplate.STBuilder deep(int depth)
depth - the depth
public StructuralTemplate totalling(int size)
size - the size
public StructuralTemplate.STBuilder withAttributes(int max)
max - the maximum number of attributes
public StructuralTemplate.STBuilder withValuesOf(int max)
max - the maximum size of leaf values
public StructuralTemplate.STBuilder withIds()
public StructuralTemplate build()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||