private string SwitchToPhase(PlanCompilerPhase newPhase) { var iqtDumpResult = string.Empty; if (newPhase != m_phase) { _precedingPhases |= (1 << (int)m_phase); } m_phase = newPhase; #if DEBUG if (s_traceCallback != null) { s_traceCallback(Enum.GetName(typeof(PlanCompilerPhase), newPhase), m_command); } else { iqtDumpResult = Dump.ToXml(m_command); } Validator.Validate(this); #endif return(iqtDumpResult); }
private string SwitchToPhase(PlanCompilerPhase newPhase) { string empty = string.Empty; if (newPhase != this.m_phase) { this._precedingPhases |= 1 << (int)(this.m_phase & (PlanCompilerPhase)31); } this.m_phase = newPhase; return(empty); }
private static bool CheckEntry(OpType opType, PlanCompilerPhase phase) { var hash = ComputeHash(opType, phase); return s_ValidOpTypes.IsSet(hash); }
private static void AddSingleEntry(BitVec opVector, OpType opType, PlanCompilerPhase phase) { var hash = ComputeHash(opType, phase); opVector.Set(hash); }
private static int ComputeHash(OpType opType, PlanCompilerPhase phase) { var hash = ((int)opType * (int)PlanCompilerPhase.MaxMarker) + (int)phase; return hash; }
internal bool IsAfterPhase(PlanCompilerPhase phase) { return((_precedingPhases & (1 << (int)phase)) != 0); }
private string SwitchToPhase(PlanCompilerPhase newPhase) { var iqtDumpResult = string.Empty; m_phase = newPhase; #if DEBUG if (s_traceCallback != null) { s_traceCallback(Enum.GetName(typeof(PlanCompilerPhase), newPhase), m_command); } else { iqtDumpResult = Dump.ToXml(m_command); } Validator.Validate(this); #endif return iqtDumpResult; }
internal bool IsPhaseNeeded(PlanCompilerPhase phase) { return((this.m_neededPhases & 1 << (int)(phase & (PlanCompilerPhase)31)) != 0); }
/// <summary> /// Is the specified phase needed for this query? /// </summary> /// <param name="phase"> the phase in question </param> /// <returns> </returns> internal bool IsPhaseNeeded(PlanCompilerPhase phase) { return ((m_neededPhases & (1 << (int)phase)) != 0); }
private static bool CheckEntry(OpType opType, PlanCompilerPhase phase) { int hash = ComputeHash(opType, phase); return(s_ValidOpTypes.IsSet(hash)); }
private static void AddSingleEntry(BitVec opVector, OpType opType, PlanCompilerPhase phase) { int hash = ComputeHash(opType, phase); opVector.Set(hash); }
private static int ComputeHash(OpType opType, PlanCompilerPhase phase) { int hash = ((int)opType * (int)PlanCompilerPhase.MaxMarker) + (int)phase; return(hash); }
internal bool IsAfterPhase(PlanCompilerPhase phase) { return (_precedingPhases & (1 << (int) phase)) != 0; }
internal bool IsAfterPhase(PlanCompilerPhase phase) { return((this._precedingPhases & 1 << (int)(phase & (PlanCompilerPhase)31)) != 0); }
internal void MarkPhaseAsNeeded(PlanCompilerPhase phase) { this.m_neededPhases |= 1 << (int)(phase & (PlanCompilerPhase)31); }
// <summary> // Is the specified phase needed for this query? // </summary> // <param name="phase"> the phase in question </param> internal bool IsPhaseNeeded(PlanCompilerPhase phase) { return((m_neededPhases & (1 << (int)phase)) != 0); }
// <summary> // Mark the specified phase as needed // </summary> // <param name="phase"> plan compiler phase </param> internal void MarkPhaseAsNeeded(PlanCompilerPhase phase) { m_neededPhases = m_neededPhases | (1 << (int)phase); }
/// <summary> /// Mark the specified phase as needed /// </summary> /// <param name="phase"> plan compiler phase </param> internal void MarkPhaseAsNeeded(PlanCompilerPhase phase) { m_neededPhases = m_neededPhases | (1 << (int)phase); }