com.microsoft.azure.kusto.data.Results Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kusto-data Show documentation
Show all versions of kusto-data Show documentation
Kusto client library for executing queries and retrieving data
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
package com.microsoft.azure.kusto.data;
import java.util.ArrayList;
import java.util.HashMap;
public class Results {
private HashMap columnNameToIndex;
private HashMap columnNameToType;
private ArrayList> values;
private String exceptionsMessages;
public Results(HashMap columnNameToIndex, HashMap columnNameToType,
ArrayList> values, String exceptionsMessages) {
this.columnNameToIndex = columnNameToIndex;
this.columnNameToType = columnNameToType;
this.values = values;
this.exceptionsMessages = exceptionsMessages;
}
public HashMap getColumnNameToIndex() {
return columnNameToIndex;
}
public HashMap getColumnNameToType() {
return columnNameToType;
}
public Integer getIndexByColumnName(String columnName) {
return columnNameToIndex.get(columnName);
}
public String getTypeByColumnName(String columnName) {
return columnNameToType.get(columnName);
}
public ArrayList> getValues() {
return values;
}
public String getExceptions() {
return exceptionsMessages;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy