@Retention(RUNTIME)
public @interface PathIndexProperty
import com.marklogic.client.pojo.annotation.PathIndexProperty; public class MyClass { @PathIndexProperty public Long myLongValue; }or with a public getter method:
public class MyClass { private Long myLongValue; @PathIndexProperty public Long getMyLongValue() { return myLongValue; } // ... setter methods ... }or with a public setter method:
public class MyClass { private Long myLongValue; // ... getter methods ... @PathIndexProperty public void setMyLongValue(Long myLongValue) { this.myLongValue = myLongValue; } }Run
GenerateIndexConfig
to generate a package that can be used by administrators to create
the indexes in MarkLogic Server.Modifier and Type | Required Element | Description |
---|---|---|
PathIndexProperty.ScalarType |
scalarType |
PathIndexProperty.ScalarType scalarType
Copyright © 2022 MarkLogic Corporation