Import
Constructors
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
fields | FieldWithIndex[] |
Methods
Method | Modifiers | Description |
---|---|---|
Returns the first field with the given name. | ||
getFields(type) | ||
Returns the fields with the given label. | ||
getFirstFieldOfType(type, includeHidden) | ||
hasFieldOfType(type) | ||
Constructs a new instance of the FieldCache
class
Signature
constructor(data: DataFrame);
Parameters
fields property
Signature
getFieldByName method
Returns the first field with the given name.
Signature
getFieldByName(name: string): FieldWithIndex | undefined;
Parameters
Parameter | Type | Description |
---|---|---|
name | string |
Returns:
Signature
Parameters
Parameter | Type | Description |
---|---|---|
type | FieldType |
Returns:
FieldWithIndex[]
getFieldsByLabel method
Returns the fields with the given label.
Signature
Parameters
Returns:
FieldWithIndex[]
getFirstFieldOfType method
Signature
getFirstFieldOfType(type: FieldType, includeHidden?: boolean): FieldWithIndex | undefined;
Parameters
Parameter | Type | Description |
---|---|---|
type | FieldType | |
includeHidden | boolean |
Returns:
Signature
Parameters
Parameter | Type | Description |
---|---|---|
name | string |
Returns:
boolean
hasFieldOfType method
Signature
Parameters
Returns:
boolean
hasFieldWithNameAndType method
Signature
hasFieldWithNameAndType(name: string, type: FieldType): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
name | string | |
type | FieldType |
Returns: