Profiler Object:Column-Based String Statistics: Difference between revisions
No edit summary |
No edit summary |
||
Line 498: | Line 498: | ||
{{ Object Syntax | {{ Object Syntax | ||
|Syntax=profiler-> | |Syntax=profiler->GetColumnMaxWords(columnNameStr); | ||
|C=integer = mdProfilerGetColumnMaxWords(profiler, columnNameStr); | |C=integer = mdProfilerGetColumnMaxWords(profiler, columnNameStr); | ||
|.Net=integer = profiler.GetColumMaxWords(columnNameStr); | |.Net=integer = profiler.GetColumMaxWords(columnNameStr); | ||
Line 516: | Line 516: | ||
{{ Object Syntax | {{ Object Syntax | ||
|Syntax=profiler-> | |Syntax=profiler->GetColumnMinWords(columnNameStr); | ||
|C=integer = mdProfilerGetColumnMinWords(profiler, columnNameStr); | |C=integer = mdProfilerGetColumnMinWords(profiler, columnNameStr); | ||
|.Net=integer = profiler.GetColumMinWords(columnNameStr); | |.Net=integer = profiler.GetColumMinWords(columnNameStr); | ||
Line 534: | Line 534: | ||
{{ Object Syntax | {{ Object Syntax | ||
|Syntax=profiler-> | |Syntax=profiler->GetColumnAvgWords(columnNameStr); | ||
|C=integer = mdProfilerGetColumnAvgWords(profiler, columnNameStr); | |C=integer = mdProfilerGetColumnAvgWords(profiler, columnNameStr); | ||
|.Net=integer = profiler.GetColumAvgWords(columnNameStr); | |.Net=integer = profiler.GetColumAvgWords(columnNameStr); |
Revision as of 20:11, 2 February 2015
Theses statistics should only be retrieved after calling the ProfileData function. These values are all column-specific. String statistics are computed for all column types, including non string-based ones (such as numerics, date/times, etc.)
Quartiles and Medians
A median value is the 'middle' value. That is, if one were to order a list of 100 values from lowest to highest (including duplicate values), the median value is the value of the 50th item. There are two quartile values: first and third. In the previous example, the first quartile would be the 25th value, and the third quartile would be the 75th value. In cases where the total number of records is not evenly divisible, the value closest to the quartile or median point is used.
GetColumnStringMaxValue
This function returns a column's largest value (as sorted A-Z.)
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get column's largest value. |
Syntax | profiler->GetColumnStringMaxValue(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnStringMaxValue(profiler, columnNameStr); |
.Net | integer = profiler.GetColumnStringMaxValue(columnNameStr); |
GetColumnStringMinValue
This function returns a column’s smallest value.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get column’s smallest value. |
Syntax | profiler->GetColumnStringMinValue(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnStringMinValue(profiler, columnNameStr); |
.Net | integer = profiler.GetColumnStringMinValue(columnNameStr); |
GetColumnStringQ1Value
This function returns a column’s first quartile value.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get column’s first quartile value |
Syntax | profiler->GetColumnStringQ1Value(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnStringQ1Value(profiler, columnNameStr); |
.Net | integer = profiler.GetColumnStringQ1Value(columnNameStr); |
GetColumnStringMedValue
This function returns a column’s median value.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get column’s median value |
Syntax | profiler->GetColumnStringMedValue(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnStringMedValue(profiler, columnNameStr); |
.Net | integer = profiler.GetColumnStringMedValue(columnNameStr); |
GetColumnStringQ3Value
This function returns a column’s third quartile value.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get column’s third quartile value |
Syntax | profiler->GetColumnStringQ3Value(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnStringQ3Value(profiler, columnNameStr); |
.Net | integer = profiler.GetColumnStringQ3Value(columnNameStr); |
GetColumnStringMaxLength
This function returns the length of a column’s longest value.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the length of the column’s longest value |
Syntax | profiler->GetColumnStringMaxLength(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnStringMaxLength(profiler, columnNameStr); |
.Net | integer = profiler.GetColumnStringMaxLength(columnNameStr); |
GetColumnStringMinLength
This function returns the length of a column’s shortest value.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the length of the column’s shortest value |
Syntax | profiler->GetColumnStringMinLength(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnStringMinLength(profiler, columnNameStr); |
.Net | integer = profiler.GetColumnStringMinLength(columnNameStr); |
GetColumnStringAvgLength
This funciton returns the average length of the column.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the average length of the column’s value |
Syntax | profiler->GetColumnStringAvgLength(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnStringAvgLength(profiler, columnNameStr); |
.Net | integer = profiler.GetColumnStringAvgLength(columnNameStr); |
GetColumnStringQ1Length
This function returns a column’s first quartile length.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the first quartile length |
Syntax | profiler->GetColumnStringQ1Length(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnStringQ1Length(profiler, columnNameStr); |
.Net | integer = profiler.GetColumnStringQ1Length(columnNameStr); |
GetColumnStringMedLength
This function returns a column’s median length.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the median length |
Syntax | profiler->GetColumnStringMedLength(ColumnNameStr); |
---|---|
C | integer = mdProfilerGetColumnStringMedLength(profiler, columnNameStr); |
.Net | integer = profiler.GetColumnStringMedLength(columnNameStr); |
GetColumnStringQ3Length
This function returns a column’s third quartile length.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the third quartile length |
Syntax | profiler->GetColumnStringQ3Length(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnStringQ3Length(profiler, columnNameStr); |
.Net | integer = profiler.GetColumnStringQ3Length(columnNameStr); |
GetColumnWordMaxValue
This function returns a column’s largest word value.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the column’s largest word value |
Syntax | profiler->GetColumnWordMaxValue(ColumnNameStr); |
---|---|
C | integer = mdProfilerGetColumnWordMaxValue(profiler, columnNameStr); |
.Net | integer = profiler.GetColumWordMaxValue(columnNameStr); |
GetColumnWordMinValue
This function returns a column’s shortest word value.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the column’s shortest word value |
Syntax | profiler->GetColumnWordMinValue(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnWordMinValue(profiler, columnNameStr); |
.Net | integer = profiler.GetColumWordMinValue(columnNameStr); |
GetColumnWordQ1Value
This function returns a column’s first quartile word value.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the column’s first quartile word value |
Syntax | profiler->GetColumnWordQ1Value(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnWordQ1Value(profiler, columnNameStr); |
.Net | integer = profiler.GetColumWordQ1Value(columnNameStr); |
GetColumnWordMedValue
This function returns a column’s median word value.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the column’s median word value |
Syntax | profiler->GetColumnWordMedValue(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnWordMedValue(profiler, columnNameStr); |
.Net | integer = profiler.GetColumWordMedValue(columnNameStr); |
GetColumnWordQ3Value
This function returns a column’s third quartile word value.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the column’s third quartile word value |
Syntax | profiler->GetColumnWordQ3Value(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnWordQ3Value(profiler, columnNameStr); |
.Net | integer = profiler.GetColumWordQ3Value(columnNameStr); |
GetColumnWordMaxLength
This function returns the length of a column’s largest word value.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the length of the column’s largest word value |
Syntax | profiler->GetColumnWordMaxValue(ColumnNameStr); |
---|---|
C | integer = mdProfilerGetColumnWordMaxValue(profiler, columnNameStr); |
.Net | integer = profiler.GetColumWordMaxValue(columnNameStr); |
GetColumnWordMinLength
This function returns the length of a column’s shortest word value.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the length of the column’s shortest word value |
Syntax | profiler->GetColumnWordMinLength(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnWordMinLength(profiler, columnNameStr); |
.Net | integer = profiler.GetColumWordMinLength(columnNameStr); |
GetColumnWordAvgLength
This function returns the average length of a column’s words.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the average length of the column’s words |
Syntax | profiler->GetColumnWordAvgLength(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnWordAvgLength(profiler, columnNameStr); |
.Net | integer = profiler.GetColumWordAvgLength(columnNameStr); |
GetColumnWordQ1Length
This function returns a column’s first quartile word length.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the first quartile word length. |
Syntax | profiler->GetColumnWordQ1Length(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnQ1Length(profiler, columnNameStr); |
.Net | integer = profiler.GetColumWordQ1Length(ColumnNameStr); |
GetColumnWordMedLength
This function returns a column’s median word length.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the column’s median word length. |
Syntax | profiler->GetColumnWordMedLength(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnWordMedLength(profiler, columnNameStr); |
.Net | integer = profiler.GetColumWordMedLength(columnNameStr); |
GetColumnWordQ3Length
This function returns a column’s third quartile word length.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the column’s third quartile word length |
Syntax | profiler->GetColumnWordQ3Length(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnWordQ3Length(profiler, columnNameStr); |
.Net | integer = profiler.GetColumWordQ3Length(columnNameStr); |
GetColumnMaxWords
This function returns a column’s maximum number of words.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the columns maximum number of words. |
Syntax | profiler->GetColumnMaxWords(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnMaxWords(profiler, columnNameStr); |
.Net | integer = profiler.GetColumMaxWords(columnNameStr); |
GetColumnMinWords
This function returns a column’s minimum number of words.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the columns minimum number of words. |
Syntax | profiler->GetColumnMinWords(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnMinWords(profiler, columnNameStr); |
.Net | integer = profiler.GetColumMinWords(columnNameStr); |
GetColumnAvgWords
This function returns a column’s average number of words.
This function takes one parameter.
Parameters
Name | Data Type | Description |
---|---|---|
ColumnName | String | Column Name to get the columns average number of words. |
Syntax | profiler->GetColumnAvgWords(columnNameStr); |
---|---|
C | integer = mdProfilerGetColumnAvgWords(profiler, columnNameStr); |
.Net | integer = profiler.GetColumAvgWords(columnNameStr); |