@Retention(value=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 and Description |
---|---|
PathIndexProperty.ScalarType |
scalarType |
public abstract PathIndexProperty.ScalarType scalarType
Copyright © 2024 MarkLogic Corporation. All Rights Reserved.