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.appendCell(String object) |
|
StringColumn |
StringColumn.appendMissing() |
|
StringColumn |
StringColumn.copy() |
|
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,
List<String> strings) |
|
StringColumn |
StringColumn.emptyCopy() |
|
StringColumn |
StringColumn.emptyCopy(int rowSize) |
|
StringColumn |
StringColumn.lag(int n) |
|
StringColumn |
StringColumn.lead(int n) |
|
StringColumn |
StringColumn.removeMissing() |
|
StringColumn |
StringColumn.set(int rowIndex,
String stringValue) |
|
StringColumn |
StringColumn.set(String newValue,
Selection rowSelection) |
Conditionally update this column, replacing current values with newValue for all rows where the current value
matches the selection criteria
|
StringColumn |
StringColumn.unique() |
Returns a new Column containing all the unique values in this column
|
StringColumn |
StringColumn.where(Filter filter) |
|
StringColumn |
StringColumn.where(Selection selection) |
Modifier and Type | Method | Description |
---|---|---|
void |
StringColumn.initializeWith(it.unimi.dsi.fastutil.ints.IntArrayList list,
StringColumn old) |
Initializes this Column with the given values for performance
|
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.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
|
default StringColumn |
StringMapFunctions.format(String formatString) |
|
default StringColumn |
StringMapFunctions.join(String separator,
StringColumn... 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() |
|
StringColumn |
StringFilters.where(Filter filter) |
Modifier and Type | Method | Description |
---|---|---|
Filter |
StringColumnReference.containsString(StringColumn sc) |
|
Filter |
StringColumnReference.endsWith(StringColumn sc) |
|
Filter |
StringColumnReference.equalsIgnoreCase(StringColumn stringColumnToCompareAgainst) |
|
default Selection |
StringFilters.equalsIgnoreCase(StringColumn other) |
|
default Selection |
StringFilters.eval(BiPredicate<String,String> predicate,
StringColumn otherColumn) |
|
Filter |
StringColumnReference.isEqualTo(StringColumn value) |
|
default Selection |
StringFilters.isEqualTo(StringColumn other) |
|
Filter |
StringColumnReference.isNotEqualTo(StringColumn value) |
|
default Selection |
StringFilters.isNotEqualTo(StringColumn other) |
|
default StringColumn |
StringMapFunctions.join(String separator,
StringColumn... columns) |
Return a copy of this column with the given string appended
|
Filter |
StringColumnReference.startsWith(StringColumn sc) |
Constructor | Description |
---|---|
ColumnContainsString(StringColumn stringColumnToCompareAgainst) |
|
ColumnContainsString(StringColumnReference reference,
StringColumn otherStringColumn) |
|
ColumnEndsWith(StringColumn stringColumnToCompareAgainst) |
|
ColumnEndsWith(StringColumnReference reference,
StringColumn otherStringColumn) |
|
ColumnEqualTo(StringColumn stringColumnToCompareAgainst) |
|
ColumnEqualTo(StringColumnReference reference,
StringColumn otherStringColumn) |
|
ColumnEqualToIgnoringCase(StringColumn stringColumnToCompareAgainst) |
|
ColumnEqualToIgnoringCase(StringColumnReference reference,
StringColumn otherStringColumn) |
|
ColumnNotEqualTo(StringColumn stringColumnToCompareAgainst) |
|
ColumnNotEqualTo(StringColumnReference reference,
StringColumn otherStringColumn) |
|
ColumnStartsWith(StringColumn stringColumnToCompareAgainst) |
|
ColumnStartsWith(StringColumnReference reference,
StringColumn otherStringColumn) |
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.
|
Constructor | Description |
---|---|
CategoryIndex(StringColumn column) |
Modifier and Type | Method | Description |
---|---|---|
StringColumn |
Relation.stringColumn(int columnIndex) |
|
StringColumn |
Relation.stringColumn(String columnName) |
|
StringColumn[] |
Relation.stringColumns() |
Copyright © 2018. All rights reserved.