Modifier and Type | Class and Description |
---|---|
static class |
SortSpec.SortFieldSpec
Sort info for a Field.
|
static class |
SortSpec.SortSpecBuilder
SortSpec builder.
|
Modifier and Type | Field and Description |
---|---|
static SortSpec |
ANY
SortSpec does not require sort.
|
Constructor and Description |
---|
SortSpec(SortSpec.SortFieldSpec[] fieldSpecs) |
Modifier and Type | Method and Description |
---|---|
static SortSpec.SortSpecBuilder |
builder() |
boolean |
equals(Object o) |
int |
getFieldSize()
Gets num of field in the spec.
|
SortSpec.SortFieldSpec |
getFieldSpec(int index)
Gets
SortSpec.SortFieldSpec of field at given index. |
SortSpec.SortFieldSpec[] |
getFieldSpecs()
Gets all
SortSpec.SortFieldSpec in the SortSpec. |
int |
hashCode() |
String |
toString() |
public static final SortSpec ANY
public SortSpec(SortSpec.SortFieldSpec[] fieldSpecs)
public SortSpec.SortFieldSpec[] getFieldSpecs()
SortSpec.SortFieldSpec
in the SortSpec.public SortSpec.SortFieldSpec getFieldSpec(int index)
SortSpec.SortFieldSpec
of field at given index.public int getFieldSize()
public static SortSpec.SortSpecBuilder builder()
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.