Uses of Class
tech.tablesaw.api.StringColumn
-
-
Uses of StringColumn in tech.tablesaw.aggregate
Methods in tech.tablesaw.aggregate with parameters of type StringColumn Modifier and Type Method Description abstract String
StringAggregateFunction. summarize(StringColumn column)
-
Uses of StringColumn in tech.tablesaw.api
Methods in tech.tablesaw.api that return StringColumn Modifier and Type Method Description StringColumn
StringColumn. addAll(List<String> stringValues)
Add all the strings in the list to this columnStringColumn
StringColumn. append(String value)
Added for naming consistency with all other columnsStringColumn
StringColumn. append(Column<String> column)
Appends all the values in the argument to the bottom of this column and return this columnStringColumn
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 parserStringColumn
StringColumn. appendMissing()
Appends a missing value appropriate to the columnStringColumn
StringColumn. appendObj(Object obj)
Appends the given value to the bottom of this column and return this columnStringColumn
NumericColumn. asStringColumn()
Returns a StringColumn consisting of the (unformatted) String representation of this column valuesStringColumn
StringColumn. asStringColumn()
Returns a StringColumn consisting of the (unformatted) String representation of this column valuesStringColumn
StringColumn. copy()
Returns a deep copy of the receiverstatic 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 removedStringColumn
StringColumn. set(int rowIndex, String stringValue)
Sets the value at index row to the given value and return this columnStringColumn
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 criteriaStringColumn
StringColumn. setMissing(int i)
Sets the value at index i to the missing-value indicator for this column type, and return this columnStringColumn
StringColumn. unique()
Returns a new Column containing all the unique values in this columnStringColumn
StringColumn. where(Selection selection)
Returns a new column containing the subset referenced by theSelection
-
Uses of StringColumn in tech.tablesaw.columns
Methods in tech.tablesaw.columns that return StringColumn Modifier and Type Method Description StringColumn
AbstractColumn. asStringColumn()
Returns a StringColumn consisting of the (unformatted) String representation of this column valuesStringColumn
Column. asStringColumn()
Returns a StringColumn consisting of the (unformatted) String representation of this column values -
Uses of StringColumn in tech.tablesaw.columns.dates
Methods in tech.tablesaw.columns.dates that return StringColumn 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. -
Uses of StringColumn in tech.tablesaw.columns.datetimes
Methods in tech.tablesaw.columns.datetimes that return StringColumn 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 columndefault 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. -
Uses of StringColumn in tech.tablesaw.columns.strings
Methods in tech.tablesaw.columns.strings that return StringColumn 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 perCharacter.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 elementdefault 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 appendeddefault 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 StringColumndefault 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 regexdefault 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 inputdefault 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 columndefault StringColumn
StringMapFunctions. upperCase()
-
Uses of StringColumn in tech.tablesaw.columns.times
Methods in tech.tablesaw.columns.times that return StringColumn 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. -
Uses of StringColumn in tech.tablesaw.index
Constructors in tech.tablesaw.index with parameters of type StringColumn Constructor Description StringIndex(StringColumn column)
Creates an index on the given AbstractStringColumn -
Uses of StringColumn in tech.tablesaw.table
Methods in tech.tablesaw.table that return StringColumn 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
-