Class LongChecker
A concrete implementation of [Workspace.XBR.Xperiflow.Etl.Tabular.Utilities.IDataTypeChecker](../Xperiflow.Etl.Tabular.Utilities/IDataTypeChecker.md)
for checking if a value is a long
Namespace: Workspace.XBR.Xperiflow.Etl.Tabular.Utilities
Assembly: Xperiflow.dll
Declaration
public class LongChecker : IDataTypeChecker
Implements: Workspace.XBR.Xperiflow.Etl.Tabular.Utilities.IDataTypeChecker
Properties
DataTypeName
The DataTypeChecker
's data type name
Declaration
public Type DataTypeName { get; }
MatchCount
The number of times the data type checker has matched a value
Declaration
public int MatchCount { get; set; }
Methods
GetConfidenceLevel(int)
The confidence level of the data type checker, calculated as the MatchCount
divided by the total number of samples
Declaration
public float GetConfidenceLevel(int totalSamples)
Returns
System.Single
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | totalSamples | The total number of samples |
TryParse(string)
Implements a specific TryParse
method for the data type checker
Declaration
public bool TryParse(string value)
Returns
System.Boolean
true
if the value is of the data type, false
otherwise
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The value to check |
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object,System.Object)
System.Object.GetHashCode
System.Object.GetType
System.Object.MemberwiseClone
System.Object.ReferenceEquals(System.Object,System.Object)
System.Object.ToString