Modifier and Type | Method | Description |
---|---|---|
abstract String |
StringAggregateFunction.summarize(StringColumn column) |
|
abstract String |
StringFunction.summarize(StringColumn column) |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
StringColumn |
StringColumn.addAll(List<String> stringValues) |
Add all the strings in the list to this column
|
StringColumn |
StringColumn.append(String value) |
Added for naming consistency with all other columns
|
StringColumn |
StringColumn.append(Column<String> column) |
Appends all the values in the argument to the bottom of this column and return this column
|
StringColumn |
StringColumn.appendCell(String object) |
Add one element to the bottom of this column and set its value to the parsed value of the given
String.
|
StringColumn |
StringColumn.appendCell(String object,
AbstractColumnParser<?> parser) |
Add one element to the bottom of this column and set its value to the parsed value of the given
String, as performed by the given parser
|
StringColumn |
StringColumn.appendMissing() |
Appends a missing value appropriate to the column
|
StringColumn |
StringColumn.appendObj(Object obj) |
Appends the given value to the bottom of this column and return this column
|
StringColumn |
NumericColumn.asStringColumn() |
Returns a StringColumn consisting of the (unformatted) String representation of this column
values
|
StringColumn |
StringColumn.asStringColumn() |
Returns a StringColumn consisting of the (unformatted) String representation of this column
values
|
StringColumn |
TextColumn.asStringColumn() |
Returns a StringColumn consisting of the (unformatted) String representation of this column
values
|
StringColumn |
StringColumn.copy() |
Returns a deep copy of the receiver
|
static StringColumn |
StringColumn.create(String name) |
|
static StringColumn |
StringColumn.create(String name,
int size) |
|
static StringColumn |
StringColumn.create(String name,
String... strings) |
|
static StringColumn |
StringColumn.create(String name,
Collection<String> strings) |
|
static StringColumn |
StringColumn.create(String name,
Stream<String> stream) |
|
static StringColumn |
StringColumn.createInternal(String name,
DictionaryMap map) |
|
StringColumn |
StringColumn.emptyCopy() |
Returns a copy of the receiver with no data.
|
StringColumn |
StringColumn.emptyCopy(int rowSize) |
Returns an empty copy of the receiver, with its internal storage initialized to the given row
size.
|
StringColumn |
StringColumn.lag(int n) |
Returns a column of the same type and size as the receiver, containing the receivers values
offset by n.
|
StringColumn |
StringColumn.lead(int n) |
Returns a column of the same type as the receiver, containing the receivers values offset -n
For example if you lead a column containing 2, 3, 4 by 1, you get a column containing 3, 4, NA.
|
StringColumn |
StringColumn.removeMissing() |
Returns a copy of this column with the missing values removed
|
StringColumn |
StringColumn.set(int rowIndex,
String stringValue) |
Sets the value at index row to the given value and return this column
|
StringColumn |
StringColumn.set(Selection rowSelection,
String newValue) |
Conditionally update this column, replacing current values with newValue for all rows where the
current value matches the selection criteria
|
StringColumn |
StringColumn.setMissing(int i) |
Sets the value at index i to the missing-value indicator for this column type, and return this
column
|
StringColumn |
StringColumn.unique() |
Returns a new Column containing all the unique values in this column
|
StringColumn |
StringColumn.where(Selection selection) |
Returns a new column containing the subset referenced by the
Selection |
Modifier and Type | Method | Description |
---|---|---|
StringColumn |
AbstractColumn.asStringColumn() |
Returns a StringColumn consisting of the (unformatted) String representation of this column
values
|
StringColumn |
Column.asStringColumn() |
Returns a StringColumn consisting of the (unformatted) String representation of this column
values
|
Modifier and Type | Method | Description |
---|---|---|
default StringColumn |
DateMapFunctions.dayOfWeek() |
|
default StringColumn |
DateMapFunctions.month() |
|
default StringColumn |
DateMapFunctions.yearDay() |
Returns a StringColumn with the year and day-of-year derived from this column concatenated into
a String that will sort lexicographically in temporal order.
|
default StringColumn |
DateMapFunctions.yearMonth() |
Returns a StringColumn with the year and month from this column concatenated into a String that
will sort lexicographically in temporal order.
|
default StringColumn |
DateMapFunctions.yearQuarter() |
Returns a StringColumn with the year and quarter from this column concatenated into a String
that will sort lexicographically in temporal order.
|
default StringColumn |
DateMapFunctions.yearWeek() |
Returns a StringColumn with the year and week-of-year derived from this column concatenated
into a String that will sort lexicographically in temporal order.
|
Modifier and Type | Method | Description |
---|---|---|
default StringColumn |
DateTimeMapFunctions.dayOfWeek() |
|
default StringColumn |
DateTimeMapFunctions.hourMinute() |
Returns a StringColumn with the year and week-of-year derived from this column concatenated
into a String that will sort lexicographically in temporal order.
|
default StringColumn |
DateTimeMapFunctions.month() |
Returns a StringColumn containing the name of the month for each date/time in this column
|
default StringColumn |
DateTimeMapFunctions.yearDay() |
Returns a StringColumn with the year and day-of-year derived from this column concatenated into
a String that will sort lexicographically in temporal order.
|
default StringColumn |
DateTimeMapFunctions.yearMonth() |
Returns a StringColumn with the year and month from this column concatenated into a String that
will sort lexicographically in temporal order.
|
default StringColumn |
DateTimeMapFunctions.yearQuarter() |
Returns a StringColumn with the year and quarter from this column concatenated into a String
that will sort lexicographically in temporal order.
|
default StringColumn |
DateTimeMapFunctions.yearWeek() |
Returns a StringColumn with the year and week-of-year derived from this column concatenated
into a String that will sort lexicographically in temporal order.
|
Modifier and Type | Method | Description |
---|---|---|
default StringColumn |
StringMapFunctions.abbreviate(int maxWidth) |
Abbreviates a String using ellipses.
|
default StringColumn |
StringMapFunctions.capitalize() |
Capitalizes each String changing the first character of each to title case as per
Character.toTitleCase(int) , as if in a sentence. |
default StringColumn |
StringMapFunctions.commonPrefix(Column<String> column2) |
|
default StringColumn |
StringMapFunctions.commonSuffix(Column<String> column2) |
|
default StringColumn |
StringMapFunctions.concatenate(Object... stringsToAppend) |
Return a copy of this column with the given string appended to each element
|
default StringColumn |
StringMapFunctions.concatenate(Column<?>... stringColumns) |
Return a copy of this column with the corresponding value of each column argument appended to
each element.
|
StringColumn |
StringColumnType.create(String name) |
|
default StringColumn |
StringMapFunctions.format(String formatString) |
|
default StringColumn |
StringMapFunctions.join(String separator,
Column<?>... columns) |
Return a copy of this column with the given string appended
|
default StringColumn |
StringMapFunctions.lowerCase() |
|
default StringColumn |
StringMapFunctions.padEnd(int minLength,
char padChar) |
|
default StringColumn |
StringMapFunctions.padStart(int minLength,
char padChar) |
|
default StringColumn |
StringMapFunctions.repeat(int times) |
Repeats each the column's values elementwise, concatinating the results into a new StringColumn
|
default StringColumn |
StringMapFunctions.replaceAll(String[] regexArray,
String replacement) |
Creates a new column, replacing each string in this column with a new string formed by
replacing any substring that matches the regex
|
default StringColumn |
StringMapFunctions.replaceAll(String regex,
String replacement) |
|
default StringColumn |
StringMapFunctions.replaceFirst(String regex,
String replacement) |
|
default StringColumn |
StringMapFunctions.substring(int start) |
Returns a column containing the substrings from start to the end of the input
|
default StringColumn |
StringMapFunctions.substring(int start,
int end) |
|
default StringColumn |
StringMapFunctions.tokenizeAndRemoveDuplicates(String separator) |
|
default StringColumn |
StringMapFunctions.tokenizeAndSort() |
Splits on Whitespace and returns the lexicographically sorted result.
|
default StringColumn |
StringMapFunctions.tokenizeAndSort(String separator) |
|
default StringColumn |
StringMapFunctions.tokens(String separator) |
Returns a column of arbitrary size containing each token in this column, where a token is
defined using the given separator.
|
default StringColumn |
StringMapFunctions.trim() |
|
default StringColumn |
StringMapFunctions.uniqueTokens(String separator) |
Returns a column of arbitrary size containing each unique token in this column, where a token
is defined using the given separator, and uniqueness is calculated across the entire column
|
default StringColumn |
StringMapFunctions.upperCase() |
Modifier and Type | Method | Description |
---|---|---|
default StringColumn |
TimeMapFunctions.hourMinute() |
Returns a StringColumn with the hour and minute-of-hour derived from this column concatenated
into a String that will sort lexicographically in temporal order.
|
Modifier and Type | Method | Description |
---|---|---|
StringColumn |
Relation.stringColumn(int columnIndex) |
Returns the StringColumn at the given 0-based index if present.
|
StringColumn |
Relation.stringColumn(String columnName) |
Returns a StringColumn with the given name if it is present in this Relation.
|
StringColumn[] |
Relation.stringColumns() |
Returns all the StringColumns in this Relation as an Array
|
Copyright © 2022. All rights reserved.