public class VectorDescriptor extends Object
Constructor and Description |
---|
VectorDescriptor(MaterializedField field) |
VectorDescriptor(String name,
TypeProtos.MajorType type) |
VectorDescriptor(TypeProtos.MajorType type) |
Modifier and Type | Method and Description |
---|---|
static VectorDescriptor |
create(MaterializedField field) |
static VectorDescriptor |
create(String name,
TypeProtos.MajorType type) |
static VectorDescriptor |
create(TypeProtos.MajorType type) |
Collection<MaterializedField> |
getChildren() |
MaterializedField |
getField() |
String |
getName() |
TypeProtos.MajorType |
getType() |
boolean |
hasName() |
VectorDescriptor |
withName(String name) |
VectorDescriptor |
withType(TypeProtos.MajorType type) |
public VectorDescriptor(TypeProtos.MajorType type)
public VectorDescriptor(String name, TypeProtos.MajorType type)
public VectorDescriptor(MaterializedField field)
public MaterializedField getField()
public TypeProtos.MajorType getType()
public String getName()
public Collection<MaterializedField> getChildren()
public boolean hasName()
public VectorDescriptor withName(String name)
public VectorDescriptor withType(TypeProtos.MajorType type)
public static VectorDescriptor create(String name, TypeProtos.MajorType type)
public static VectorDescriptor create(TypeProtos.MajorType type)
public static VectorDescriptor create(MaterializedField field)
Copyright © 1970 The Apache Software Foundation. All rights reserved.