public class DocsumDefinition extends Object
Constructor and Description |
---|
DocsumDefinition(String name,
List<DocsumField> fields) |
Modifier and Type | Method and Description |
---|---|
Object |
convert(String fieldName,
com.yahoo.data.access.Inspector value)
Returns the given slime value as the type specified in this, or null if the type is not known.
|
Set<String> |
fieldNames() |
DocsumField |
getField(int fieldIndex)
Returns the field at this index, or null if none
|
DocsumField |
getField(String fieldName)
Returns the field with this name, or null if none
|
int |
getFieldCount() |
List<DocsumField> |
getFields() |
String |
getName() |
boolean |
isDynamic()
Returns whether this summary contains one or more dynamic fields
|
String |
toString() |
public DocsumDefinition(String name, List<DocsumField> fields)
public DocsumField getField(int fieldIndex)
public DocsumField getField(String fieldName)
public Object convert(String fieldName, com.yahoo.data.access.Inspector value)
public String getName()
public int getFieldCount()
public List<DocsumField> getFields()
public boolean isDynamic()
Copyright © 2018. All rights reserved.