Interface ColumnLocation
- All Superinterfaces:
LogOutputAppendable
,NamedImplementation
,StringUtils.StringKeyedObject
- All Known Implementing Classes:
AbstractColumnLocation
public interface ColumnLocation
extends StringUtils.StringKeyedObject, NamedImplementation, LogOutputAppendable
Per-TableLocation, per-column key, state, and factory object.
-
Method Summary
Modifier and TypeMethodDescriptiondefault LogOutput
default <CL extends ColumnLocation>
CLcast()
Get this column location cast to the specified typeboolean
exists()
Check for existence of this ColumnLocation.@NotNull String
getName()
Get the column name for this ColumnLocation.default String
@NotNull TableLocation
Get theTableLocation
enclosing this ColumnLocation.makeColumnRegionByte
(@NotNull ColumnDefinition<?> columnDefinition) makeColumnRegionChar
(@NotNull ColumnDefinition<?> columnDefinition) makeColumnRegionDouble
(@NotNull ColumnDefinition<?> columnDefinition) makeColumnRegionFloat
(@NotNull ColumnDefinition<?> columnDefinition) makeColumnRegionInt
(@NotNull ColumnDefinition<?> columnDefinition) makeColumnRegionLong
(@NotNull ColumnDefinition<?> columnDefinition) <TYPE> ColumnRegionObject<TYPE,
Values> makeColumnRegionObject
(@NotNull ColumnDefinition<TYPE> columnDefinition) makeColumnRegionShort
(@NotNull ColumnDefinition<?> columnDefinition) default String
Methods inherited from interface io.deephaven.util.type.NamedImplementation
getImplementationName
-
Method Details
-
getTableLocation
Get theTableLocation
enclosing this ColumnLocation.- Returns:
- the
TableLocation
enclosing this ColumnLocation
-
getName
Get the column name for this ColumnLocation.- Returns:
- the column name for this ColumnLocation
-
exists
boolean exists()Check for existence of this ColumnLocation.- Returns:
- True iff the ColumnLocation actually exists
-
cast
Get this column location cast to the specified type- Returns:
this
, with the appropriate cast applied
-
makeColumnRegionChar
ColumnRegionChar<Values> makeColumnRegionChar(@NotNull @NotNull ColumnDefinition<?> columnDefinition) - Parameters:
columnDefinition
- TheColumnDefinition
used to lookup type information- Returns:
- A
ColumnRegionChar
for reading data from this ColumnLocation - Throws:
UnsupportedOperationException
- If this ColumnLocation does not contain char data
-
makeColumnRegionByte
ColumnRegionByte<Values> makeColumnRegionByte(@NotNull @NotNull ColumnDefinition<?> columnDefinition) - Parameters:
columnDefinition
- TheColumnDefinition
used to lookup type information- Returns:
- A
ColumnRegionByte
for reading data from this ColumnLocation - Throws:
UnsupportedOperationException
- If this ColumnLocation does not contain byte data
-
makeColumnRegionShort
ColumnRegionShort<Values> makeColumnRegionShort(@NotNull @NotNull ColumnDefinition<?> columnDefinition) - Parameters:
columnDefinition
- TheColumnDefinition
used to lookup type information- Returns:
- A
ColumnRegionShort
for reading data from this ColumnLocation - Throws:
UnsupportedOperationException
- If this ColumnLocation does not contain short data
-
makeColumnRegionInt
- Parameters:
columnDefinition
- TheColumnDefinition
used to lookup type information- Returns:
- A
ColumnRegionInt
for reading data from this ColumnLocation - Throws:
UnsupportedOperationException
- If this ColumnLocation does not contain int data
-
makeColumnRegionLong
ColumnRegionLong<Values> makeColumnRegionLong(@NotNull @NotNull ColumnDefinition<?> columnDefinition) - Parameters:
columnDefinition
- TheColumnDefinition
used to lookup type information- Returns:
- A
ColumnRegionLong
for reading data from this ColumnLocation - Throws:
UnsupportedOperationException
- If this ColumnLocation does not contain long data
-
makeColumnRegionFloat
ColumnRegionFloat<Values> makeColumnRegionFloat(@NotNull @NotNull ColumnDefinition<?> columnDefinition) - Parameters:
columnDefinition
- TheColumnDefinition
used to lookup type information- Returns:
- A
ColumnRegionFloat
for reading data from this ColumnLocation - Throws:
UnsupportedOperationException
- If this ColumnLocation does not contain float data
-
makeColumnRegionDouble
ColumnRegionDouble<Values> makeColumnRegionDouble(@NotNull @NotNull ColumnDefinition<?> columnDefinition) - Parameters:
columnDefinition
- TheColumnDefinition
used to lookup type information- Returns:
- A
ColumnRegionDouble
for reading data from this ColumnLocation - Throws:
UnsupportedOperationException
- If this ColumnLocation does not contain double data
-
makeColumnRegionObject
<TYPE> ColumnRegionObject<TYPE,Values> makeColumnRegionObject(@NotNull @NotNull ColumnDefinition<TYPE> columnDefinition) - Parameters:
columnDefinition
- TheColumnDefinition
used to lookup type information- Returns:
- A
ColumnRegionObject
for reading data from this ColumnLocation - Throws:
UnsupportedOperationException
- If this ColumnLocation does not contain object data
-
getStringRepresentation
- Specified by:
getStringRepresentation
in interfaceStringUtils.StringKeyedObject
-
append
- Specified by:
append
in interfaceLogOutputAppendable
-
toStringHelper
-