Modifier and Type | Method and Description |
---|---|
abstract String |
StringFunction.summarize(StringColumn column) |
Modifier and Type | Method and Description |
---|---|
StringColumn |
StringColumn.addAll(List<String> stringValues)
Add all the strings in the list to this column
|
StringColumn |
StringColumn.append(Column<String> column) |
StringColumn |
StringColumn.append(String value)
Added for naming consistency with all other columns
|
StringColumn |
StringColumn.appendCell(String object) |
StringColumn |
StringColumn.appendCell(String object,
AbstractColumnParser<?> parser) |
StringColumn |
StringColumn.appendMissing() |
StringColumn |
StringColumn.appendObj(Object obj) |
StringColumn |
TextColumn.asStringColumn() |
StringColumn |
NumericColumn.asStringColumn() |
StringColumn |
StringColumn.asStringColumn() |
StringColumn |
StringColumn.copy() |
static StringColumn |
StringColumn.create(String name) |
static StringColumn |
StringColumn.create(String name,
int size) |
static StringColumn |
StringColumn.create(String name,
List<String> strings) |
static StringColumn |
StringColumn.create(String name,
String[] strings) |
StringColumn |
StringColumn.emptyCopy() |
StringColumn |
StringColumn.emptyCopy(int rowSize) |
StringColumn |
StringColumn.filter(Predicate<? super String> test) |
StringColumn |
StringColumn.first(int numRows) |
StringColumn |
StringColumn.inRange(int start,
int end) |
StringColumn |
StringColumn.lag(int n) |
StringColumn |
StringColumn.last(int numRows) |
StringColumn |
StringColumn.lead(int n) |
StringColumn |
StringColumn.map(Function<? super String,? extends String> fun) |
StringColumn |
StringColumn.max(Column<String> other) |
StringColumn |
StringColumn.min(Column<String> other) |
StringColumn |
StringColumn.removeMissing() |
StringColumn |
StringColumn.sampleN(int n) |
StringColumn |
StringColumn.sampleX(double proportion) |
StringColumn |
StringColumn.set(int rowIndex,
String stringValue) |
StringColumn |
StringColumn.set(Selection condition,
Column<String> other) |
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.setName(String name) |
StringColumn |
StringColumn.sorted(Comparator<? super String> comp) |
StringColumn |
StringColumn.subset(int[] rows) |
StringColumn |
StringColumn.unique()
Returns a new Column containing all the unique values in this column
|
StringColumn |
StringColumn.where(Selection selection) |
Modifier and Type | Method and Description |
---|---|
StringColumn |
AbstractColumn.asStringColumn() |
StringColumn |
Column.asStringColumn() |
Modifier and Type | Method and 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 and 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 and Description |
---|---|
default StringColumn |
StringMapFunctions.abbreviate(int maxWidth)
Abbreviates a String using ellipses.
|
default StringColumn |
StringMapFunctions.commonPrefix(Column<?> column2) |
default StringColumn |
StringMapFunctions.commonSuffix(Column<?> column2) |
default StringColumn |
StringMapFunctions.concatenate(String append)
Return a copy of this column with the given string 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.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
NOTE: Unlike other map functions, this method produces a column whose size may be different from the source,
so they cannot safely be combined in a table.
|
default StringColumn |
StringMapFunctions.upperCase() |
Modifier and Type | Method and 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.
|
Constructor and Description |
---|
StringIndex(StringColumn column) |
Modifier and Type | Method and Description |
---|---|
StringColumn |
Relation.stringColumn(int columnIndex) |
StringColumn |
Relation.stringColumn(String columnName) |
StringColumn[] |
Relation.stringColumns() |
Copyright © 2019. All rights reserved.