Profiler Object:Column-Based String Statistics: Difference between revisions
Created page with " ← Profiler Object Reference {| class="mw-collapsible" cellspacing="2" style="background-color:#f9f9f9; border:1px solid #aaaaaa; font-size..." |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
[[Profiler Object:Reference|← Profiler Object Reference]] | [[Profiler Object:Reference|← Profiler Object Reference]] | ||
{ | {{ProfilerObjectNav | ||
|ColumnBasedStatisticsCollapse= | |||
}} | |||
{ | |||
| | |||
<div class="toclimit-2">{{CustomTOC}}</div> | <div class="toclimit-2">{{CustomTOC}}</div> | ||
Theses statistics should only be retrieved after calling the '''[[Profiler Object:Profiling#ProfileData|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== | ==GetColumnStringMaxValue== | ||
Line 98: | Line 28: | ||
{{ Object Syntax | {{ Object Syntax | ||
|Syntax=profiler->GetColumnStringMaxValue(columnNameStr); | |Syntax=profiler->GetColumnStringMaxValue(columnNameStr); | ||
|C= | |C=const char* = mdProfilerGetColumnStringMaxValue(profiler, columnNameStr); | ||
|.Net= | |.Net=string = profiler.GetColumnStringMaxValue(columnNameStr); | ||
}} | }} | ||
Line 116: | Line 46: | ||
{{ Object Syntax | {{ Object Syntax | ||
|Syntax=profiler->GetColumnStringMinValue(columnNameStr); | |Syntax=profiler->GetColumnStringMinValue(columnNameStr); | ||
|C= | |C=const char* = mdProfilerGetColumnStringMinValue(profiler, columnNameStr); | ||
|.Net= | |.Net=string = profiler.GetColumnStringMinValue(columnNameStr); | ||
}} | }} | ||
Line 134: | Line 64: | ||
{{ Object Syntax | {{ Object Syntax | ||
|Syntax=profiler->GetColumnStringQ1Value(columnNameStr); | |Syntax=profiler->GetColumnStringQ1Value(columnNameStr); | ||
|C= | |C=const char* = mdProfilerGetColumnStringQ1Value(profiler, columnNameStr); | ||
|.Net= | |.Net=string = profiler.GetColumnStringQ1Value(columnNameStr); | ||
}} | }} | ||
Line 152: | Line 82: | ||
{{ Object Syntax | {{ Object Syntax | ||
|Syntax=profiler->GetColumnStringMedValue(columnNameStr); | |Syntax=profiler->GetColumnStringMedValue(columnNameStr); | ||
|C= | |C=const char* = mdProfilerGetColumnStringMedValue(profiler, columnNameStr); | ||
|.Net= | |.Net=string = profiler.GetColumnStringMedValue(columnNameStr); | ||
}} | }} | ||
Line 170: | Line 100: | ||
{{ Object Syntax | {{ Object Syntax | ||
|Syntax=profiler->GetColumnStringQ3Value(columnNameStr); | |Syntax=profiler->GetColumnStringQ3Value(columnNameStr); | ||
|C= | |C=const char* = mdProfilerGetColumnStringQ3Value(profiler, columnNameStr); | ||
|.Net= | |.Net=string = profiler.GetColumnStringQ3Value(columnNameStr); | ||
}} | }} | ||
Line 224: | Line 154: | ||
{{ Object Syntax | {{ Object Syntax | ||
|Syntax=profiler->GetColumnStringAvgLength(columnNameStr); | |Syntax=profiler->GetColumnStringAvgLength(columnNameStr); | ||
|C= | |C=double = mdProfilerGetColumnStringAvgLength(profiler, columnNameStr); | ||
|.Net= | |.Net=double = profiler.GetColumnStringAvgLength(columnNameStr); | ||
}} | }} | ||
Line 296: | Line 226: | ||
{{ Object Syntax | {{ Object Syntax | ||
|Syntax=profiler->GetColumnWordMaxValue(ColumnNameStr); | |Syntax=profiler->GetColumnWordMaxValue(ColumnNameStr); | ||
|C= | |C=const char* = mdProfilerGetColumnWordMaxValue(profiler, columnNameStr); | ||
|.Net= | |.Net=string = profiler.GetColumWordMaxValue(columnNameStr); | ||
}} | }} | ||
Line 314: | Line 244: | ||
{{ Object Syntax | {{ Object Syntax | ||
|Syntax=profiler->GetColumnWordMinValue(columnNameStr); | |Syntax=profiler->GetColumnWordMinValue(columnNameStr); | ||
|C= | |C=const char* = mdProfilerGetColumnWordMinValue(profiler, columnNameStr); | ||
|.Net= | |.Net=string = profiler.GetColumWordMinValue(columnNameStr); | ||
}} | }} | ||
Line 332: | Line 262: | ||
{{ Object Syntax | {{ Object Syntax | ||
|Syntax=profiler->GetColumnWordQ1Value(columnNameStr); | |Syntax=profiler->GetColumnWordQ1Value(columnNameStr); | ||
|C= | |C=const char* = mdProfilerGetColumnWordQ1Value(profiler, columnNameStr); | ||
|.Net= | |.Net=string = profiler.GetColumWordQ1Value(columnNameStr); | ||
}} | }} | ||
Line 350: | Line 280: | ||
{{ Object Syntax | {{ Object Syntax | ||
|Syntax=profiler->GetColumnWordMedValue(columnNameStr); | |Syntax=profiler->GetColumnWordMedValue(columnNameStr); | ||
|C= | |C=const char* = mdProfilerGetColumnWordMedValue(profiler, columnNameStr); | ||
|.Net= | |.Net=string = profiler.GetColumWordMedValue(columnNameStr); | ||
}} | }} | ||
Line 368: | Line 298: | ||
{{ Object Syntax | {{ Object Syntax | ||
|Syntax=profiler->GetColumnWordQ3Value(columnNameStr); | |Syntax=profiler->GetColumnWordQ3Value(columnNameStr); | ||
|C= | |C=const char* = mdProfilerGetColumnWordQ3Value(profiler, columnNameStr); | ||
|.Net= | |.Net=string = profiler.GetColumWordQ3Value(columnNameStr); | ||
}} | }} | ||
Line 422: | Line 352: | ||
{{ Object Syntax | {{ Object Syntax | ||
|Syntax=profiler->GetColumnWordAvgLength(columnNameStr); | |Syntax=profiler->GetColumnWordAvgLength(columnNameStr); | ||
|C= | |C=double = mdProfilerGetColumnWordAvgLength(profiler, columnNameStr); | ||
|.Net= | |.Net=double = profiler.GetColumWordAvgLength(columnNameStr); | ||
}} | }} | ||
Line 493: | Line 423: | ||
{{ 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 511: | Line 441: | ||
{{ 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 529: | Line 459: | ||
{{ Object Syntax | {{ Object Syntax | ||
|Syntax=profiler-> | |Syntax=profiler->GetColumnAvgWords(columnNameStr); | ||
|C= | |C=double = mdProfilerGetColumnAvgWords(profiler, columnNameStr); | ||
|.Net= | |.Net=double = profiler.GetColumAvgWords(columnNameStr); | ||
}} | }} | ||
[[Category:Profiler Object]] | [[Category:Profiler Object]] |
Latest revision as of 22:01, 23 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 | const char* = mdProfilerGetColumnStringMaxValue(profiler, columnNameStr); |
.Net | string = 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 | const char* = mdProfilerGetColumnStringMinValue(profiler, columnNameStr); |
.Net | string = 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 | const char* = mdProfilerGetColumnStringQ1Value(profiler, columnNameStr); |
.Net | string = 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 | const char* = mdProfilerGetColumnStringMedValue(profiler, columnNameStr); |
.Net | string = 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 | const char* = mdProfilerGetColumnStringQ3Value(profiler, columnNameStr); |
.Net | string = 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 | double = mdProfilerGetColumnStringAvgLength(profiler, columnNameStr); |
.Net | double = 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 | const char* = mdProfilerGetColumnWordMaxValue(profiler, columnNameStr); |
.Net | string = 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 | const char* = mdProfilerGetColumnWordMinValue(profiler, columnNameStr); |
.Net | string = 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 | const char* = mdProfilerGetColumnWordQ1Value(profiler, columnNameStr); |
.Net | string = 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 | const char* = mdProfilerGetColumnWordMedValue(profiler, columnNameStr); |
.Net | string = 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 | const char* = mdProfilerGetColumnWordQ3Value(profiler, columnNameStr); |
.Net | string = 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 | double = mdProfilerGetColumnWordAvgLength(profiler, columnNameStr); |
.Net | double = 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 | double = mdProfilerGetColumnAvgWords(profiler, columnNameStr); |
.Net | double = profiler.GetColumAvgWords(columnNameStr); |