AnyLogic
Expand
Font size
  • java.lang.Object
    • com.anylogic.engine.database.TableElementDatabaseBuilder

@AnyLogicInternalAPI
public class TableElementDatabaseBuilder
extends java.lang.Object

Constructor Summary

Constructors 
TableElementDatabaseBuilder​(Utilities utils)  
Constructor Description

Method Summary

All Methods Static Methods Instance Methods Concrete Methods 
CustomDistribution buildCustomDistribution​(java.lang.String definitionType, CustomDistribution.InterpolationType interpolationType)  
CustomDistributionOfOptions buildCustomDistributionOfOptions​(java.lang.Class enumClass)  
TableFunction buildTableFunction​(TableFunction.InterpolationType interpolationType, int approximationOrder, TableFunction.OutOfRangeAction outOfRangeAction, double outOfRangeValue)  
static long convertToRelativeTime​(java.sql.Timestamp t, java.time.LocalDateTime beginPoint, long repeatTime)  
void fillSchedule​(Schedule s, java.lang.Class<?> valueType, boolean isSundayFirst, boolean isByDays, long repeatTime, boolean isRange, boolean isCustom, long atomicDuration)  
static java.time.LocalDateTime getBeginPoint​(java.sql.Timestamp t, boolean isByDays, boolean isSundayFirst)  
TableElementDatabaseBuilder setColumns​(com.querydsl.core.types.Expression<?>... columns)  
TableElementDatabaseBuilder setOwner​(Utilities owner)  
TableElementDatabaseBuilder setSqlQuery​(java.lang.String sql, java.lang.Object... params)  
Modifier and Type Method Description

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

TableElementDatabaseBuilder

public TableElementDatabaseBuilder​(Utilities utils)

Method Detail

setOwner

public TableElementDatabaseBuilder setOwner​(Utilities owner)

setSqlQuery

public TableElementDatabaseBuilder setSqlQuery​(java.lang.String sql,
                                               java.lang.Object... params)

setColumns

public TableElementDatabaseBuilder setColumns​(com.querydsl.core.types.Expression<?>... columns)

buildTableFunction

public TableFunction buildTableFunction​(TableFunction.InterpolationType interpolationType,
                                        int approximationOrder,
                                        TableFunction.OutOfRangeAction outOfRangeAction,
                                        double outOfRangeValue)

fillSchedule

public void fillSchedule​(Schedule s,
                         java.lang.Class<?> valueType,
                         boolean isSundayFirst,
                         boolean isByDays,
                         long repeatTime,
                         boolean isRange,
                         boolean isCustom,
                         long atomicDuration)

buildCustomDistribution

public CustomDistribution buildCustomDistribution​(java.lang.String definitionType,
                                                  CustomDistribution.InterpolationType interpolationType)

buildCustomDistributionOfOptions

public CustomDistributionOfOptions buildCustomDistributionOfOptions​(java.lang.Class enumClass)

getBeginPoint

public static java.time.LocalDateTime getBeginPoint​(java.sql.Timestamp t,
                                                    boolean isByDays,
                                                    boolean isSundayFirst)

convertToRelativeTime

public static long convertToRelativeTime​(java.sql.Timestamp t,
                                         java.time.LocalDateTime beginPoint,
                                         long repeatTime)
How can we improve this article?